Class: EngagingNetworks::Client

Inherits:
API
  • Object
show all
Defined in:
lib/engaging_networks/client.rb

Instance Method Summary collapse

Methods inherited from API

#default_options, #extract_data_from_params, #post_request_with_get_params, #request, #request_with_options, #setup

Instance Method Details

#actionObject



14
15
16
# File 'lib/engaging_networks/client.rb', line 14

def action
  @action ||= EngagingNetworks::Action.new(client: self)
end

#campaignObject



6
7
8
# File 'lib/engaging_networks/client.rb', line 6

def campaign
  @campaign ||= EngagingNetworks::Campaign.new(client: self)
end

#supporterObject



10
11
12
# File 'lib/engaging_networks/client.rb', line 10

def supporter
  @supporter ||= EngagingNetworks::Supporter.new(client: self)
end