Class: ToadHopper::Response

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

Overview

Hoptoad API response

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



10
11
12
# File 'lib/toadhopper.rb', line 10

def body
  @body
end

#errorsObject

Returns the value of attribute errors

Returns:

  • (Object)

    the current value of errors



10
11
12
# File 'lib/toadhopper.rb', line 10

def errors
  @errors
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



10
11
12
# File 'lib/toadhopper.rb', line 10

def status
  @status
end