Module: ActiveCampaign::ApiHttp::ClassMethods
- Defined in:
- lib/active_campaign/api_http.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#request(params = {}) ⇒ Object
39 40 41 42 43 44 45 46 47 48 |
# File 'lib/active_campaign/api_http.rb', line 39 def request(params = {}) api = ActiveCampaign::API.new request = api.request params if block_given? yield request[:parsed_data], request[:_response] else request end end |