Class: ZUORA::ZObject
- Inherits:
-
Object
- Object
- ZUORA::ZObject
- Defined in:
- lib/zuora/ZUORA.rb
Overview
/zObject
fieldsToNull - SOAP::SOAPString
id - (any)
Direct Known Subclasses
Account, Amendment, BillRun, Contact, Invoice, InvoiceItem, InvoiceItemAdjustment, InvoicePayment, Payment, PaymentMethod, Product, ProductRatePlan, ProductRatePlanCharge, ProductRatePlanChargeTier, ProductRatePlanChargeTierData, RatePlan, RatePlanCharge, RatePlanChargeTier, Refund, Subscription, Usage
Instance Attribute Summary collapse
-
#fieldsToNull ⇒ Object
END BASTARDIZATION.
-
#id ⇒ Object
Returns the value of attribute id.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(fieldsToNull = [], id = nil) ⇒ ZObject
constructor
A new instance of ZObject.
Constructor Details
#initialize(fieldsToNull = [], id = nil) ⇒ ZObject
Returns a new instance of ZObject.
22 23 24 25 |
# File 'lib/zuora/ZUORA.rb', line 22 def initialize(fieldsToNull = [], id = nil) @fieldsToNull = fieldsToNull @id = id end |
Instance Attribute Details
#fieldsToNull ⇒ Object
END BASTARDIZATION
19 20 21 |
# File 'lib/zuora/ZUORA.rb', line 19 def fieldsToNull @fieldsToNull end |
#id ⇒ Object
Returns the value of attribute id.
20 21 22 |
# File 'lib/zuora/ZUORA.rb', line 20 def id @id end |
Class Method Details
.attr_accessor(*attrs) ⇒ Object
12 13 14 15 16 |
# File 'lib/zuora/ZUORA.rb', line 12 def self.attr_accessor(*attrs) @attributes ||= [] @attributes.push *attrs attr_accessor_without_attributes *attrs end |
.attr_accessor_without_attributes ⇒ Object
11 |
# File 'lib/zuora/ZUORA.rb', line 11 alias_method :attr_accessor_without_attributes, :attr_accessor |