Class: QuelinkMg::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/quelink-mg/configuration.rb

Constant Summary collapse

DEFAULT_ZONE =
ActiveSupport::TimeZone.new('Europe/Warsaw')

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_zoneObject

Returns the value of attribute time_zone.



5
6
7
# File 'lib/quelink-mg/configuration.rb', line 5

def time_zone
  @time_zone
end