Class: Celluloid::Response
- Defined in:
- lib/vendor/celluloid/lib/celluloid/responses.rb
Overview
Responses to calls
Direct Known Subclasses
Instance Attribute Summary collapse
-
#call_id ⇒ Object
readonly
Returns the value of attribute call_id.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(call_id, value) ⇒ Response
constructor
A new instance of Response.
Constructor Details
#initialize(call_id, value) ⇒ Response
Returns a new instance of Response.
6 7 8 |
# File 'lib/vendor/celluloid/lib/celluloid/responses.rb', line 6 def initialize(call_id, value) @call_id, @value = call_id, value end |
Instance Attribute Details
#call_id ⇒ Object (readonly)
Returns the value of attribute call_id.
4 5 6 |
# File 'lib/vendor/celluloid/lib/celluloid/responses.rb', line 4 def call_id @call_id end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
4 5 6 |
# File 'lib/vendor/celluloid/lib/celluloid/responses.rb', line 4 def value @value end |