Class: Zuora::Rest::ErrorResponse

Inherits:
Errors::GenericError
  • Object
show all
Defined in:
lib/zuora/rest.rb

Overview

Non-success response

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, response = nil) ⇒ ErrorResponse

Returns a new instance of ErrorResponse.



15
16
17
18
# File 'lib/zuora/rest.rb', line 15

def initialize(message = nil, response = nil)
  super(message)
  @response = response
end

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



13
14
15
# File 'lib/zuora/rest.rb', line 13

def response
  @response
end