Class: Phase::Adapters::Abstract::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/phase/adapters/abstract/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#resourceObject (readonly)

Returns the value of attribute resource.



6
7
8
# File 'lib/phase/adapters/abstract/base.rb', line 6

def resource
  @resource
end