Class: SourceMonitor::Scrapers::Fetchers::HttpFetcher::Result
- Inherits:
-
Struct
- Object
- Struct
- SourceMonitor::Scrapers::Fetchers::HttpFetcher::Result
- Defined in:
- lib/source_monitor/scrapers/fetchers/http_fetcher.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#error ⇒ Object
Returns the value of attribute error.
-
#headers ⇒ Object
Returns the value of attribute headers.
-
#http_status ⇒ Object
Returns the value of attribute http_status.
-
#message ⇒ Object
Returns the value of attribute message.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body
9 10 11 |
# File 'lib/source_monitor/scrapers/fetchers/http_fetcher.rb', line 9 def body @body end |
#error ⇒ Object
Returns the value of attribute error
9 10 11 |
# File 'lib/source_monitor/scrapers/fetchers/http_fetcher.rb', line 9 def error @error end |
#headers ⇒ Object
Returns the value of attribute headers
9 10 11 |
# File 'lib/source_monitor/scrapers/fetchers/http_fetcher.rb', line 9 def headers @headers end |
#http_status ⇒ Object
Returns the value of attribute http_status
9 10 11 |
# File 'lib/source_monitor/scrapers/fetchers/http_fetcher.rb', line 9 def http_status @http_status end |
#message ⇒ Object
Returns the value of attribute message
9 10 11 |
# File 'lib/source_monitor/scrapers/fetchers/http_fetcher.rb', line 9 def @message end |
#status ⇒ Object
Returns the value of attribute status
9 10 11 |
# File 'lib/source_monitor/scrapers/fetchers/http_fetcher.rb', line 9 def status @status end |