Class: GeoMonitor::FailedResponse

Inherits:
Struct
  • Object
show all
Defined in:
lib/geo_monitor.rb

Overview

A simple structure to conform to Faraday::Response

Instance Attribute Summary collapse

Instance Attribute Details

#envObject

Returns the value of attribute env

Returns:

  • (Object)

    the current value of env



8
9
10
# File 'lib/geo_monitor.rb', line 8

def env
  @env
end

#headersObject

Returns the value of attribute headers

Returns:

  • (Object)

    the current value of headers



8
9
10
# File 'lib/geo_monitor.rb', line 8

def headers
  @headers
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



8
9
10
# File 'lib/geo_monitor.rb', line 8

def status
  @status
end