Class: Infusionsoft::Api
- Inherits:
-
Object
- Object
- Infusionsoft::Api
- Includes:
- Connection, Request
- Defined in:
- lib/infusionsoft/api.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#retry_count ⇒ Object
Returns the value of attribute retry_count.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Api
constructor
A new instance of Api.
Methods included from Request
#delete, #get, #patch, #post, #put, #xmlrpc
Constructor Details
#initialize(options = {}) ⇒ Api
Returns a new instance of Api.
14 15 16 17 18 19 20 |
# File 'lib/infusionsoft/api.rb', line 14 def initialize(={}) @retry_count = 0 = Infusionsoft..merge() Configuration::VALID_OPTION_KEYS.each do |key| send("#{key}=", [key]) end end |
Instance Attribute Details
#retry_count ⇒ Object
Returns the value of attribute retry_count.
11 12 13 |
# File 'lib/infusionsoft/api.rb', line 11 def retry_count @retry_count end |