Class: Config
- Inherits:
-
Object
- Object
- Config
- Defined in:
- lib/paperplane/config.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#logger ⇒ Object
Returns the value of attribute logger.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
7 8 9 10 |
# File 'lib/paperplane/config.rb', line 7 def initialize @api_key = '' @logger = Logger.new(STDOUT) end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
5 6 7 |
# File 'lib/paperplane/config.rb', line 5 def api_key @api_key end |
#logger ⇒ Object
Returns the value of attribute logger.
5 6 7 |
# File 'lib/paperplane/config.rb', line 5 def logger @logger end |