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



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

def body
  @body
end

#errorsObject

Returns the value of attribute errors

Returns:

  • (Object)

    the current value of errors



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

def errors
  @errors
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



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

def status
  @status
end