Class: SourceMonitor::Scrapers::Fetchers::HttpFetcher::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/source_monitor/scrapers/fetchers/http_fetcher.rb

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



9
10
11
# File 'lib/source_monitor/scrapers/fetchers/http_fetcher.rb', line 9

def body
  @body
end

#errorObject

Returns the value of attribute error

Returns:

  • (Object)

    the current value of error



9
10
11
# File 'lib/source_monitor/scrapers/fetchers/http_fetcher.rb', line 9

def error
  @error
end

#headersObject

Returns the value of attribute headers

Returns:

  • (Object)

    the current value of headers



9
10
11
# File 'lib/source_monitor/scrapers/fetchers/http_fetcher.rb', line 9

def headers
  @headers
end

#http_statusObject

Returns the value of attribute http_status

Returns:

  • (Object)

    the current value of http_status



9
10
11
# File 'lib/source_monitor/scrapers/fetchers/http_fetcher.rb', line 9

def http_status
  @http_status
end

#messageObject

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



9
10
11
# File 'lib/source_monitor/scrapers/fetchers/http_fetcher.rb', line 9

def message
  @message
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



9
10
11
# File 'lib/source_monitor/scrapers/fetchers/http_fetcher.rb', line 9

def status
  @status
end