Class: Omnidata::Adapters::AbstractAdapter
- Inherits:
-
Object
- Object
- Omnidata::Adapters::AbstractAdapter
- Defined in:
- lib/omnidata/adapters/abstract_adapter.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(options) ⇒ AbstractAdapter
constructor
A new instance of AbstractAdapter.
Constructor Details
#initialize(options) ⇒ AbstractAdapter
Returns a new instance of AbstractAdapter.
18 19 20 |
# File 'lib/omnidata/adapters/abstract_adapter.rb', line 18 def initialize() @config = .dup end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
16 17 18 |
# File 'lib/omnidata/adapters/abstract_adapter.rb', line 16 def config @config end |
#name ⇒ Object
Returns the value of attribute name.
15 16 17 |
# File 'lib/omnidata/adapters/abstract_adapter.rb', line 15 def name @name end |