Class: Whatconverts::Client

Inherits:
Object
  • Object
show all
Includes:
Account, Lead, Profile
Defined in:
lib/whatconverts/client.rb,
lib/whatconverts/client/lead.rb,
lib/whatconverts/client/account.rb,
lib/whatconverts/client/profile.rb

Defined Under Namespace

Modules: Account, Lead, Profile

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Profile

#create_profile, #delete_profile, #edit_profile, #profile, #profiles

Methods included from Lead

#create_lead, #edit_lead, #lead, #leads

Methods included from Account

#account, #accounts, #create_account, #delete_account, #edit_account

Constructor Details

#initialize {|_self| ... } ⇒ Client

Returns a new instance of Client.

Yields:

  • (_self)

Yield Parameters:



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

def initialize
  yield self if block_given?
end

Instance Attribute Details

#api_secretObject

Returns the value of attribute api_secret.



8
9
10
# File 'lib/whatconverts/client.rb', line 8

def api_secret
  @api_secret
end

#api_tokenObject

Returns the value of attribute api_token.



8
9
10
# File 'lib/whatconverts/client.rb', line 8

def api_token
  @api_token
end