Class: PubSubModelSync::ServiceBase
- Inherits:
-
Base
- Object
- Base
- PubSubModelSync::ServiceBase
show all
- Defined in:
- lib/pub_sub_model_sync/service_base.rb
Constant Summary
collapse
- SERVICE_KEY =
'service_model_sync'
Instance Method Summary
collapse
Methods inherited from Base
config, debug?, log
Instance Method Details
#listen_messages ⇒ Object
8
9
10
|
# File 'lib/pub_sub_model_sync/service_base.rb', line 8
def listen_messages
raise NoMethodError, 'method :listen_messages must be defined in service'
end
|
#publish(_payload) ⇒ Object
13
14
15
|
# File 'lib/pub_sub_model_sync/service_base.rb', line 13
def publish(_payload)
raise NoMethodError, 'method :publish must be defined in service'
end
|
#stop ⇒ Object
17
18
19
|
# File 'lib/pub_sub_model_sync/service_base.rb', line 17
def stop
raise NoMethodError, 'method :stop must be defined in service'
end
|