Class: Whatconverts::Client
- Inherits:
-
Object
- Object
- Whatconverts::Client
- 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
-
#api_secret ⇒ Object
Returns the value of attribute api_secret.
-
#api_token ⇒ Object
Returns the value of attribute api_token.
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ Client
constructor
A new instance of Client.
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.
14 15 16 |
# File 'lib/whatconverts/client.rb', line 14 def initialize yield self if block_given? end |
Instance Attribute Details
#api_secret ⇒ Object
Returns the value of attribute api_secret.
8 9 10 |
# File 'lib/whatconverts/client.rb', line 8 def api_secret @api_secret end |
#api_token ⇒ Object
Returns the value of attribute api_token.
8 9 10 |
# File 'lib/whatconverts/client.rb', line 8 def api_token @api_token end |