module Gigya::HTTPService

Public Class Methods

connection() click to toggle source
# File lib/gigya/http_service.rb, line 6
def self.connection
  Faraday.new do |faraday|
    faraday.request :url_encoded
    faraday.adapter Faraday.default_adapter
    faraday.response :json, content_type: 'application/json'
  end
end