Class: Spreeference::Environment
- Inherits:
-
Object
- Object
- Spreeference::Environment
- Includes:
- EnvironmentExtension
- Defined in:
- lib/spreeference/environment.rb
Instance Attribute Summary collapse
-
#preferences ⇒ Object
Returns the value of attribute preferences.
Instance Method Summary collapse
-
#initialize ⇒ Environment
constructor
A new instance of Environment.
Methods included from EnvironmentExtension
Constructor Details
#initialize ⇒ Environment
Returns a new instance of Environment.
7 8 9 |
# File 'lib/spreeference/environment.rb', line 7 def initialize @preferences = Spreeference::AppConfiguration.new end |
Instance Attribute Details
#preferences ⇒ Object
Returns the value of attribute preferences.
5 6 7 |
# File 'lib/spreeference/environment.rb', line 5 def preferences @preferences end |