Class: Agents::Response
- Inherits:
-
Object
- Object
- Agents::Response
- Defined in:
- lib/responses/response.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#response_text ⇒ Object
readonly
Returns the value of attribute response_text.
Instance Method Summary collapse
-
#initialize(response_text) ⇒ Response
constructor
A new instance of Response.
Constructor Details
#initialize(response_text) ⇒ Response
Returns a new instance of Response.
4 5 6 |
# File 'lib/responses/response.rb', line 4 def initialize(response_text) @response_text = response_text end |
Instance Attribute Details
#response_text ⇒ Object (readonly)
Returns the value of attribute response_text.
3 4 5 |
# File 'lib/responses/response.rb', line 3 def response_text @response_text end |