Module: Gigya::HTTPService
- Defined in:
- lib/gigya/http_service.rb
Class Method Summary collapse
Class Method Details
.connection ⇒ Object
6 7 8 9 10 11 12 |
# 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 |