lib/starling/api_service.rb
# The default adapter which will be used by Faraday to make requests. This can be
# customised by passing a :http_adapter when instantiating the ApiService.
The default adapter which will be used by Faraday to make requests. This can be
customised by passing a :http_adapter when instantiating the ApiService.
The default adapter which will be used by Faraday to make requests . This can be customised by passing a : http_adapter when instantiating the ApiService .
def user_agent
      @user_agent ||=
        begin
          comment = [
            "#{Utils.ruby_engine}/#{Utils.ruby_version}",
            "#{RUBY_ENGINE}/#{Utils.interpreter_version}",
            RUBY_PLATFORM.to_s,
            "faraday/#{Faraday::VERSION}"
          ]
          "#{Utils.gem_info} #{comment.join(' ')}"
        end
    end
def user_agent @user_agent ||= begin comment = [ "#{Utils.ruby_engine}/#{Utils.ruby_version}" , "#{RUBY_ENGINE}/#{Utils.interpreter_version}" , RUBY_PLATFORM . to_s , "faraday/#{Faraday::VERSION}" ] "#{Utils.gem_info} #{comment.join(' ')}" end end
The default adapter which will be used by Faraday to make requests.
The default adapter which will be used by Faraday to make requests .