Class: NetSuite::Records::CustomerPartner
- Inherits:
-
Object
- Object
- NetSuite::Records::CustomerPartner
- Defined in:
- lib/netsuite/records/customer_partner.rb
Instance Method Summary collapse
-
#initialize(attributes_or_record = {}) ⇒ CustomerPartner
constructor
A new instance of CustomerPartner.
Methods included from Namespaces::ListRel
Methods included from Support::Records
#record_type, #refresh, #to_attributes!, #to_record
Methods included from Namespaces::PlatformCore
Methods included from Support::Attributes
#attributes, #attributes=, #initialize_from_attributes_hash
Methods included from Support::RecordRefs
Methods included from Support::Fields
Constructor Details
#initialize(attributes_or_record = {}) ⇒ CustomerPartner
Returns a new instance of CustomerPartner.
13 14 15 16 17 18 19 20 |
# File 'lib/netsuite/records/customer_partner.rb', line 13 def initialize(attributes_or_record = {}) case attributes_or_record when Hash initialize_from_attributes_hash(attributes_or_record) when self.class initialize_from_record(attributes_or_record) end end |