Class: GOM::Storage::Adapter
- Inherits:
-
Object
- Object
- GOM::Storage::Adapter
- Defined in:
- lib/gom/storage/adapter.rb
Overview
Base class for a storage adapter
Defined Under Namespace
Classes: NoSetupError, ViewNotFoundError
Instance Attribute Summary collapse
-
#configuration ⇒ Object
readonly
Returns the value of attribute configuration.
Instance Method Summary collapse
-
#initialize(configuration) ⇒ Adapter
constructor
A new instance of Adapter.
Constructor Details
#initialize(configuration) ⇒ Adapter
Returns a new instance of Adapter.
13 14 15 |
# File 'lib/gom/storage/adapter.rb', line 13 def initialize(configuration) @configuration = configuration end |
Instance Attribute Details
#configuration ⇒ Object (readonly)
Returns the value of attribute configuration.
11 12 13 |
# File 'lib/gom/storage/adapter.rb', line 11 def configuration @configuration end |