Class: NetSuite::Records::UnitsTypeUom
- Inherits:
-
Object
- Object
- NetSuite::Records::UnitsTypeUom
- Includes:
- Namespaces::ListAcct, Support::Fields, Support::Records
- Defined in:
- lib/netsuite/records/units_type_uom.rb
Instance Attribute Summary collapse
-
#internal_id ⇒ Object
readonly
Returns the value of attribute internal_id.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ UnitsTypeUom
constructor
A new instance of UnitsTypeUom.
Methods included from Namespaces::ListAcct
Methods included from Support::Records
#netsuite_type, netsuite_type, #record_type, #record_type_without_namespace, record_type_without_namespace, #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::Fields
Constructor Details
#initialize(attributes = {}) ⇒ UnitsTypeUom
Returns a new instance of UnitsTypeUom.
13 14 15 16 17 |
# File 'lib/netsuite/records/units_type_uom.rb', line 13 def initialize(attributes = {}) @internal_id = attributes.delete(:internal_id) || attributes.delete(:@internal_id) @external_id = attributes.delete(:external_id) || attributes.delete(:@external_id) initialize_from_attributes_hash(attributes) end |
Instance Attribute Details
#internal_id ⇒ Object (readonly)
Returns the value of attribute internal_id.
11 12 13 |
# File 'lib/netsuite/records/units_type_uom.rb', line 11 def internal_id @internal_id end |