Class: ActionNetworkRest::API
- Inherits:
-
Vertebrae::API
- Object
- Vertebrae::API
- ActionNetworkRest::API
- Defined in:
- lib/action_network_rest/api.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#setup ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/action_network_rest/api.rb', line 5 def setup connection.faraday_connection = Faraday.new(connection.configuration.) do |f| f.request :multipart f.request :url_encoded f.response :mashify f.response :json f.response :actionnetwork_raise_error f.adapter connection.configuration.adapter end end |