Class: Zuora::Soap::ZObject

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/zuora/soap/z_object.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type, fields) ⇒ ZObject

Returns a new instance of ZObject.



10
11
12
13
# File 'lib/zuora/soap/z_object.rb', line 10

def initialize(type, fields)
  @type = type
  @fields = fields
end

Instance Attribute Details

#fieldsObject (readonly)

Returns the value of attribute fields.



6
7
8
# File 'lib/zuora/soap/z_object.rb', line 6

def fields
  @fields
end

#typeObject (readonly)

Returns the value of attribute type.



6
7
8
# File 'lib/zuora/soap/z_object.rb', line 6

def type
  @type
end