Class: Pixo::Rpc::RequestMessage
- Defined in:
- lib/pixo/rpc/service.rb
Instance Attribute Summary collapse
-
#async ⇒ Object
readonly
Returns the value of attribute async.
Attributes inherited from Message
Instance Method Summary collapse
-
#initialize(data, async) ⇒ RequestMessage
constructor
A new instance of RequestMessage.
Constructor Details
#initialize(data, async) ⇒ RequestMessage
Returns a new instance of RequestMessage.
109 110 111 112 113 |
# File 'lib/pixo/rpc/service.rb', line 109 def initialize(data, async) super(data) @rid = "rid_#{SecureRandom.hex(10)}" @async = async end |
Instance Attribute Details
#async ⇒ Object (readonly)
Returns the value of attribute async.
108 109 110 |
# File 'lib/pixo/rpc/service.rb', line 108 def async @async end |