modules/check_in/app/services/v2/chip/client.rb
def connection
        Faraday.new(url: url) do |conn|
          conn.use :breakers
          conn.response :raise_error, error_prefix: service_name
          conn.adapter Faraday.default_adapter
        end
      end
##
# Create a Faraday connection object that glues the attributes
# and the middleware stack for making our HTTP requests to Chip
#
# @return [Faraday::Connection]
#
Create a Faraday connection object that glues the attributes
and the middleware stack for making our HTTP requests to Chip
Create a Faraday connection object that glues the attributes and the middleware stack for making our HTTP requests to Chip
def connection
        Faraday.new(url: url) do |conn|
          conn.use :breakers
          conn.response :raise_error, error_prefix: service_name
          conn.adapter Faraday.default_adapter
        end
      end
def connection Faraday . new ( url : url ) do | conn | conn . use :breakers conn . response :raise_error , error_prefix : service_name conn . adapter Faraday . default_adapter end end
Create a Faraday connection object that glues the attributes
and the middleware stack for making our HTTP requests to Chip
Create a Faraday connection object that glues the attributes and the middleware stack for making our HTTP requests to Chip
None
Faraday::Connection