Class: LogSnag::Configuration
- Inherits:
-
Object
- Object
- LogSnag::Configuration
- Defined in:
- lib/logsnag/configuration.rb
Overview
Configuration class for storing API token, project, and logger
Instance Attribute Summary collapse
-
#api_token ⇒ Object
Returns the value of attribute api_token.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#project ⇒ Object
Returns the value of attribute project.
Instance Attribute Details
#api_token ⇒ Object
Returns the value of attribute api_token.
7 8 9 |
# File 'lib/logsnag/configuration.rb', line 7 def api_token @api_token end |
#logger ⇒ Object
Returns the value of attribute logger.
6 7 8 |
# File 'lib/logsnag/configuration.rb', line 6 def logger @logger end |
#project ⇒ Object
Returns the value of attribute project.
7 8 9 |
# File 'lib/logsnag/configuration.rb', line 7 def project @project end |