Class: ZUORA::SaveResult

Inherits:
Object
  • Object
show all
Defined in:
lib/zuora/ZUORA.rb

Overview

/SaveResult

errors - ZUORA::Error
id - (any)
success - SOAP::SOAPBoolean

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(errors = [], id = nil, success = nil) ⇒ SaveResult

Returns a new instance of SaveResult.



1015
1016
1017
1018
1019
# File 'lib/zuora/ZUORA.rb', line 1015

def initialize(errors = [], id = nil, success = nil)
  @errors = errors
  @id = id
  @success = success
end

Instance Attribute Details

#errorsObject

Returns the value of attribute errors.



1011
1012
1013
# File 'lib/zuora/ZUORA.rb', line 1011

def errors
  @errors
end

#idObject

Returns the value of attribute id.



1012
1013
1014
# File 'lib/zuora/ZUORA.rb', line 1012

def id
  @id
end

#successObject

Returns the value of attribute success.



1013
1014
1015
# File 'lib/zuora/ZUORA.rb', line 1013

def success
  @success
end