Class: Cephalopod::Adaptor
- Inherits:
-
Object
- Object
- Cephalopod::Adaptor
- Defined in:
- lib/cephalopod/adaptor.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
Instance Method Summary collapse
-
#initialize(**config) ⇒ Adaptor
constructor
A new instance of Adaptor.
Constructor Details
#initialize(**config) ⇒ Adaptor
Returns a new instance of Adaptor.
5 6 7 |
# File 'lib/cephalopod/adaptor.rb', line 5 def initialize(**config) @config = config end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
4 5 6 |
# File 'lib/cephalopod/adaptor.rb', line 4 def config @config end |