Class: WaybackArchiver::Response
- Inherits:
-
Struct
- Object
- Struct
- WaybackArchiver::Response
- Defined in:
- lib/wayback_archiver/response.rb,
lib/wayback_archiver/response.rb
Overview
Response data struct
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#code ⇒ Object
Returns the value of attribute code.
-
#error ⇒ Object
Returns the value of attribute error.
-
#message ⇒ Object
Returns the value of attribute message.
-
#uri ⇒ Object
Returns the value of attribute uri.
Instance Method Summary collapse
-
#success? ⇒ Boolean
Returns true if a successfull response.
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body
3 4 5 |
# File 'lib/wayback_archiver/response.rb', line 3 def body @body end |
#code ⇒ Object
Returns the value of attribute code
3 4 5 |
# File 'lib/wayback_archiver/response.rb', line 3 def code @code end |
#error ⇒ Object
Returns the value of attribute error
3 4 5 |
# File 'lib/wayback_archiver/response.rb', line 3 def error @error end |
#message ⇒ Object
Returns the value of attribute message
3 4 5 |
# File 'lib/wayback_archiver/response.rb', line 3 def @message end |
#uri ⇒ Object
Returns the value of attribute uri
3 4 5 |
# File 'lib/wayback_archiver/response.rb', line 3 def uri @uri end |