Class: Convertkit::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/convertkit/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_keyObject

Returns the value of attribute api_key.



3
4
5
# File 'lib/convertkit/configuration.rb', line 3

def api_key
  @api_key
end

#api_secretObject

Returns the value of attribute api_secret.



3
4
5
# File 'lib/convertkit/configuration.rb', line 3

def api_secret
  @api_secret
end

#open_timeoutObject

Returns the value of attribute open_timeout.



4
5
6
# File 'lib/convertkit/configuration.rb', line 4

def open_timeout
  @open_timeout
end

#timeoutObject

Returns the value of attribute timeout.



4
5
6
# File 'lib/convertkit/configuration.rb', line 4

def timeout
  @timeout
end