Class: Kentouzu::Config

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/kentouzu/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



6
7
8
9
# File 'lib/kentouzu/config.rb', line 6

def initialize
  @enabled         = true
  @timestamp_field = :created_at
end

Instance Attribute Details

#enabledObject

Returns the value of attribute enabled.



4
5
6
# File 'lib/kentouzu/config.rb', line 4

def enabled
  @enabled
end

#timestamp_fieldObject

Returns the value of attribute timestamp_field.



4
5
6
# File 'lib/kentouzu/config.rb', line 4

def timestamp_field
  @timestamp_field
end