Class: Call::Response
- Inherits:
-
Object
- Object
- Call::Response
- Defined in:
- lib/call/response.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type, *args) ⇒ Response
constructor
A new instance of Response.
Constructor Details
#initialize(type, *args) ⇒ Response
Returns a new instance of Response.
5 6 7 8 |
# File 'lib/call/response.rb', line 5 def initialize(type, *args) @type = type @args = args end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
3 4 5 |
# File 'lib/call/response.rb', line 3 def args @args end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
3 4 5 |
# File 'lib/call/response.rb', line 3 def type @type end |