Module: BindToHash
- Included in:
- MQRPC::Message
- Defined in:
- lib/mqrpc/message.rb
Instance Method Summary collapse
Instance Method Details
#argument(method, key = nil) ⇒ Object
11 12 13 14 |
# File 'lib/mqrpc/message.rb', line 11 def argument(method, key=nil) key = method.to_s if key == nil hashbind(method, "/args/#{key}") end |
#header(method, key = nil) ⇒ Object
6 7 8 9 |
# File 'lib/mqrpc/message.rb', line 6 def header(method, key=nil) key = method.to_s if key == nil hashbind(method, "/#{key}") end |