Class: Richard::Status
- Inherits:
-
Struct
- Object
- Struct
- Richard::Status
- Defined in:
- lib/richard_iii/request_and_response.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#desc ⇒ Object
Returns the value of attribute desc.
Instance Method Summary collapse
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code
30 31 32 |
# File 'lib/richard_iii/request_and_response.rb', line 30 def code @code end |
#desc ⇒ Object
Returns the value of attribute desc
30 31 32 |
# File 'lib/richard_iii/request_and_response.rb', line 30 def desc @desc end |
Instance Method Details
#to_s ⇒ Object
31 |
# File 'lib/richard_iii/request_and_response.rb', line 31 def to_s; "#{code} #{desc}"; end |