Module: ASS::CallbackFactory::ServiceMethods
- Defined in:
- lib/ass/callback_factory.rb
Instance Method Summary collapse
- #call(name, method, data = nil, opts = {}, meta = nil) ⇒ Object
- #cast(name, method, data = nil, opts = {}, meta = nil) ⇒ Object
- #data ⇒ Object
- #discard ⇒ Object
- #header ⇒ Object
- #meta ⇒ Object
- #method ⇒ Object
- #payload ⇒ Object
- #resend ⇒ Object
- #version ⇒ Object
Instance Method Details
#call(name, method, data = nil, opts = {}, meta = nil) ⇒ Object
36 37 38 |
# File 'lib/ass/callback_factory.rb', line 36 def call(name,method,data=nil,opts={},=nil) @__service__.call(name,method,data,opts,) end |
#cast(name, method, data = nil, opts = {}, meta = nil) ⇒ Object
40 41 42 |
# File 'lib/ass/callback_factory.rb', line 40 def cast(name,method,data=nil,opts={},=nil) @__service__.cast(name,method,data,opts,) end |
#data ⇒ Object
24 25 26 |
# File 'lib/ass/callback_factory.rb', line 24 def data @__data__ end |
#discard ⇒ Object
8 9 10 |
# File 'lib/ass/callback_factory.rb', line 8 def discard throw(:__ass_discard) end |
#header ⇒ Object
12 13 14 |
# File 'lib/ass/callback_factory.rb', line 12 def header @__header__ end |
#meta ⇒ Object
28 29 30 |
# File 'lib/ass/callback_factory.rb', line 28 def @__meta__ end |
#method ⇒ Object
20 21 22 |
# File 'lib/ass/callback_factory.rb', line 20 def method @__method__ end |
#payload ⇒ Object
16 17 18 |
# File 'lib/ass/callback_factory.rb', line 16 def payload @__payload__ end |
#resend ⇒ Object
4 5 6 |
# File 'lib/ass/callback_factory.rb', line 4 def resend throw(:__ass_resend) end |
#version ⇒ Object
32 33 34 |
# File 'lib/ass/callback_factory.rb', line 32 def version @__version__ end |