Class: SharedTasks::Config

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

Overview

Class used to initialize configuration object.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



9
10
11
# File 'lib/shared_tasks/config.rb', line 9

def initialize
  @table_name = "shared_tasks"
end

Instance Attribute Details

#table_nameObject

Returns the value of attribute table_name.



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

def table_name
  @table_name
end