Class: Gecko::Http::Result::Error
- Inherits:
-
Struct
- Object
- Struct
- Gecko::Http::Result::Error
- Defined in:
- lib/gecko/http.rb
Instance Attribute Summary collapse
-
#status ⇒ Object
Returns the value of attribute status.
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
Instance Attribute Details
#status ⇒ Object
Returns the value of attribute status
31 32 33 |
# File 'lib/gecko/http.rb', line 31 def status @status end |
#text ⇒ Object
Returns the value of attribute text
31 32 33 |
# File 'lib/gecko/http.rb', line 31 def text @text end |
Instance Method Details
#to_s ⇒ Object
32 33 34 |
# File 'lib/gecko/http.rb', line 32 def to_s self.text end |