Class: Zaikio::Client::Helpers::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/zaikio/client/helpers/configuration.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



15
16
17
# File 'lib/zaikio/client/helpers/configuration.rb', line 15

def initialize
  self.environment = :sandbox
end

Instance Attribute Details

#disable_i18nObject

Returns the value of attribute disable_i18n.



7
8
9
# File 'lib/zaikio/client/helpers/configuration.rb', line 7

def disable_i18n
  @disable_i18n
end

#environmentObject

Returns the value of attribute environment.



8
9
10
# File 'lib/zaikio/client/helpers/configuration.rb', line 8

def environment
  @environment
end

#hostObject

Returns the value of attribute host.



7
8
9
# File 'lib/zaikio/client/helpers/configuration.rb', line 7

def host
  @host
end

#loggerObject



19
20
21
# File 'lib/zaikio/client/helpers/configuration.rb', line 19

def logger
  @logger ||= Logger.new($stdout)
end

Class Method Details

.hostsObject

Raises:

  • (NotImplementedError)


11
12
13
# File 'lib/zaikio/client/helpers/configuration.rb', line 11

def self.hosts
  raise NotImplementedError
end