Class: Phase::Adapters::Abstract::Base
- Inherits:
-
Object
- Object
- Phase::Adapters::Abstract::Base
- Defined in:
- lib/phase/adapters/abstract/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#resource ⇒ Object
readonly
Returns the value of attribute resource.
Instance Method Summary collapse
-
#initialize(resource) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(resource) ⇒ Base
Returns a new instance of Base.
8 9 10 |
# File 'lib/phase/adapters/abstract/base.rb', line 8 def initialize(resource) @resource = resource end |
Instance Attribute Details
#resource ⇒ Object (readonly)
Returns the value of attribute resource.
6 7 8 |
# File 'lib/phase/adapters/abstract/base.rb', line 6 def resource @resource end |