Class: Kipalog::Configuration
- Inherits:
-
Object
- Object
- Kipalog::Configuration
- Defined in:
- lib/kipalog/configuration.rb
Constant Summary collapse
- KIPALOG_API_KEY =
'KIPALOG_API_KEY'.freeze
Instance Attribute Summary collapse
-
#api_key ⇒ Object
(also: #token)
Returns the value of attribute api_key.
Instance Method Summary collapse
-
#initialize(api_key = '') ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize(api_key = '') ⇒ Configuration
Returns a new instance of Configuration.
9 10 11 |
# File 'lib/kipalog/configuration.rb', line 9 def initialize(api_key = '') @api_key = api_key end |
Instance Attribute Details
#api_key ⇒ Object Also known as: token
Returns the value of attribute api_key.
6 7 8 |
# File 'lib/kipalog/configuration.rb', line 6 def api_key @api_key end |