Class: Relaton::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/relaton/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.


17
18
19
20
# File 'lib/relaton/config.rb', line 17

def initialize
  @logs = %i(warning error)
  @use_api = false # @TODO change to true when we start using api.relaton.org
end

Instance Attribute Details

#logsObject

Returns the value of attribute logs


15
16
17
# File 'lib/relaton/config.rb', line 15

def logs
  @logs
end

#use_apiObject

Returns the value of attribute use_api


15
16
17
# File 'lib/relaton/config.rb', line 15

def use_api
  @use_api
end