Class: Synchronisable::Gateway
- Inherits:
-
Object
- Object
- Synchronisable::Gateway
- Defined in:
- lib/synchronisable/gateway.rb
Instance Attribute Summary collapse
-
#synchronizer ⇒ Object
readonly
Returns the value of attribute synchronizer.
Instance Method Summary collapse
- #fetch ⇒ Object
- #find(id) ⇒ Object
-
#initialize(synchronizer) ⇒ Gateway
constructor
A new instance of Gateway.
Constructor Details
#initialize(synchronizer) ⇒ Gateway
Returns a new instance of Gateway.
5 6 7 |
# File 'lib/synchronisable/gateway.rb', line 5 def initialize(synchronizer) @synchronizer = synchronizer end |
Instance Attribute Details
#synchronizer ⇒ Object (readonly)
Returns the value of attribute synchronizer.
3 4 5 |
# File 'lib/synchronisable/gateway.rb', line 3 def synchronizer @synchronizer end |
Instance Method Details
#fetch ⇒ Object
9 10 11 |
# File 'lib/synchronisable/gateway.rb', line 9 def fetch not_implemented :fetch end |
#find(id) ⇒ Object
13 14 15 |
# File 'lib/synchronisable/gateway.rb', line 13 def find(id) not_implemented :find end |