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.



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

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

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



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

def response
  @response
end