Class: QuelinkMg::Configuration
- Inherits:
-
Object
- Object
- QuelinkMg::Configuration
- Defined in:
- lib/quelink-mg/configuration.rb
Constant Summary collapse
- DEFAULT_ZONE =
ActiveSupport::TimeZone.new('Europe/Warsaw')
Instance Attribute Summary collapse
-
#time_zone ⇒ Object
Returns the value of attribute time_zone.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
8 9 10 11 |
# File 'lib/quelink-mg/configuration.rb', line 8 def initialize @time_zone = DEFAULT_ZONE Time.zone = @time_zone end |
Instance Attribute Details
#time_zone ⇒ Object
Returns the value of attribute time_zone.
5 6 7 |
# File 'lib/quelink-mg/configuration.rb', line 5 def time_zone @time_zone end |