Class: ActiveCampaign::Client
- Inherits:
-
Object
- Object
- ActiveCampaign::Client
- Includes:
- Request
- Defined in:
- lib/active-campaign-simple/client.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Client
constructor
A new instance of Client.
Methods included from Request
#delete, #get, #patch, #post, #put, #track_event
Constructor Details
#initialize(options = {}) ⇒ Client
Returns a new instance of Client.
12 13 14 15 16 17 |
# File 'lib/active-campaign-simple/client.rb', line 12 def initialize(={}) = ActiveCampaign..merge() Config::VALID_OPTION_KEYS.each do |key| send("#{key}=", [key]) end end |