Class: Angarium::Client::Result
- Inherits:
-
Struct
- Object
- Struct
- Angarium::Client::Result
- Defined in:
- lib/angarium/client.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#code ⇒ Object
Returns the value of attribute code.
-
#duration ⇒ Object
Returns the value of attribute duration.
-
#error ⇒ Object
Returns the value of attribute error.
-
#headers ⇒ Object
Returns the value of attribute headers.
-
#success ⇒ Object
Returns the value of attribute success.
Instance Method Summary collapse
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body
9 10 11 |
# File 'lib/angarium/client.rb', line 9 def body @body end |
#code ⇒ Object
Returns the value of attribute code
9 10 11 |
# File 'lib/angarium/client.rb', line 9 def code @code end |
#duration ⇒ Object
Returns the value of attribute duration
9 10 11 |
# File 'lib/angarium/client.rb', line 9 def duration @duration end |
#error ⇒ Object
Returns the value of attribute error
9 10 11 |
# File 'lib/angarium/client.rb', line 9 def error @error end |
#headers ⇒ Object
Returns the value of attribute headers
9 10 11 |
# File 'lib/angarium/client.rb', line 9 def headers @headers end |
#success ⇒ Object
Returns the value of attribute success
9 10 11 |
# File 'lib/angarium/client.rb', line 9 def success @success end |
Instance Method Details
#success? ⇒ Boolean
10 |
# File 'lib/angarium/client.rb', line 10 def success? = success |