Class: Zaikio::Client::Helpers::Configuration
- Inherits:
-
Object
- Object
- Zaikio::Client::Helpers::Configuration
- Defined in:
- lib/zaikio/client/helpers/configuration.rb
Instance Attribute Summary collapse
-
#disable_i18n ⇒ Object
Returns the value of attribute disable_i18n.
-
#environment ⇒ Object
Returns the value of attribute environment.
-
#host ⇒ Object
Returns the value of attribute host.
- #logger ⇒ Object
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_i18n ⇒ Object
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 |
#environment ⇒ Object
Returns the value of attribute environment.
8 9 10 |
# File 'lib/zaikio/client/helpers/configuration.rb', line 8 def environment @environment end |
#host ⇒ Object
Returns the value of attribute host.
7 8 9 |
# File 'lib/zaikio/client/helpers/configuration.rb', line 7 def host @host end |
#logger ⇒ Object
19 20 21 |
# File 'lib/zaikio/client/helpers/configuration.rb', line 19 def logger @logger ||= Logger.new($stdout) end |
Class Method Details
.hosts ⇒ Object
11 12 13 |
# File 'lib/zaikio/client/helpers/configuration.rb', line 11 def self.hosts raise NotImplementedError end |