Class: Convertkit::Configuration
- Inherits:
-
Object
- Object
- Convertkit::Configuration
- Defined in:
- lib/convertkit/configuration.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#api_secret ⇒ Object
Returns the value of attribute api_secret.
-
#open_timeout ⇒ Object
Returns the value of attribute open_timeout.
-
#timeout ⇒ Object
Returns the value of attribute timeout.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
6 7 8 9 |
# File 'lib/convertkit/configuration.rb', line 6 def initialize @timeout = 30 @open_timeout = 5 end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
3 4 5 |
# File 'lib/convertkit/configuration.rb', line 3 def api_key @api_key end |
#api_secret ⇒ Object
Returns the value of attribute api_secret.
3 4 5 |
# File 'lib/convertkit/configuration.rb', line 3 def api_secret @api_secret end |
#open_timeout ⇒ Object
Returns the value of attribute open_timeout.
4 5 6 |
# File 'lib/convertkit/configuration.rb', line 4 def open_timeout @open_timeout end |
#timeout ⇒ Object
Returns the value of attribute timeout.
4 5 6 |
# File 'lib/convertkit/configuration.rb', line 4 def timeout @timeout end |