Class: WelltreatStoreFramework::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/welltreat_store_framework/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



6
7
8
9
10
11
12
13
14
15
# File 'lib/welltreat_store_framework/configuration.rb', line 6

def initialize
  @auto_reload = false
  @store_path = nil
  @sprockets_enabled = false
  @haml_options = {
      encoding: 'utf-8',
      format: :html5
  }
  @database_connection = nil
end

Instance Attribute Details

#auto_reloadObject

Returns the value of attribute auto_reload.



3
4
5
# File 'lib/welltreat_store_framework/configuration.rb', line 3

def auto_reload
  @auto_reload
end

#database_configObject

Returns the value of attribute database_config.



3
4
5
# File 'lib/welltreat_store_framework/configuration.rb', line 3

def database_config
  @database_config
end

#database_schema_fileObject

Returns the value of attribute database_schema_file.



3
4
5
# File 'lib/welltreat_store_framework/configuration.rb', line 3

def database_schema_file
  @database_schema_file
end

#haml_optionsObject

Returns the value of attribute haml_options.



3
4
5
# File 'lib/welltreat_store_framework/configuration.rb', line 3

def haml_options
  @haml_options
end

#sprockets_enabledObject

Returns the value of attribute sprockets_enabled.



3
4
5
# File 'lib/welltreat_store_framework/configuration.rb', line 3

def sprockets_enabled
  @sprockets_enabled
end

#store_pathObject

Returns the value of attribute store_path.



3
4
5
# File 'lib/welltreat_store_framework/configuration.rb', line 3

def store_path
  @store_path
end