Exception: SimplySuggest::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/simply_suggest/error.rb

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body.



3
4
5
# File 'lib/simply_suggest/error.rb', line 3

def body
  @body
end

#error_codeObject

Returns the value of attribute error_code.



3
4
5
# File 'lib/simply_suggest/error.rb', line 3

def error_code
  @error_code
end

#messageObject

Returns the value of attribute message.



3
4
5
# File 'lib/simply_suggest/error.rb', line 3

def message
  @message
end

#raw_bodyObject

Returns the value of attribute raw_body.



3
4
5
# File 'lib/simply_suggest/error.rb', line 3

def raw_body
  @raw_body
end

#status_codeObject

Returns the value of attribute status_code.



3
4
5
# File 'lib/simply_suggest/error.rb', line 3

def status_code
  @status_code
end