Method: NetSuite::Records::PhoneCall#initialize
- Defined in:
- lib/netsuite/records/phone_call.rb
#initialize(attributes = {}) ⇒ PhoneCall
Returns a new instance of PhoneCall.
22 23 24 25 26 |
# File 'lib/netsuite/records/phone_call.rb', line 22 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 |