Class: LogSnag::Configuration

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

Overview

Configuration class for storing API token, project, and logger

Instance Attribute Summary collapse

Instance Attribute Details

#api_tokenObject

Returns the value of attribute api_token.



7
8
9
# File 'lib/logsnag/configuration.rb', line 7

def api_token
  @api_token
end

#loggerObject

Returns the value of attribute logger.



6
7
8
# File 'lib/logsnag/configuration.rb', line 6

def logger
  @logger
end

#projectObject

Returns the value of attribute project.



7
8
9
# File 'lib/logsnag/configuration.rb', line 7

def project
  @project
end