Exception: ZohoInvoice::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/zoho_invoice/error.rb,
lib/zoho_invoice/error/client_error.rb

Direct Known Subclasses

ClientError

Defined Under Namespace

Classes: ClientError

Instance Attribute Summary collapse

Instance Attribute Details

#codeObject

Returns the value of attribute code.



4
5
6
# File 'lib/zoho_invoice/error.rb', line 4

def code
  @code
end

#http_statusObject

Returns the value of attribute http_status.



4
5
6
# File 'lib/zoho_invoice/error.rb', line 4

def http_status
  @http_status
end

#messageObject

Returns the value of attribute message.



4
5
6
# File 'lib/zoho_invoice/error.rb', line 4

def message
  @message
end

#response_statusObject

Returns the value of attribute response_status.



4
5
6
# File 'lib/zoho_invoice/error.rb', line 4

def response_status
  @response_status
end