lib/netsuite/records/invoice.rb in netsuite-0.0.11 vs lib/netsuite/records/invoice.rb in netsuite-0.0.12
- old
+ new
@@ -29,10 +29,11 @@
read_only_fields :sub_total, :discount_total, :total
record_refs :account, :bill_address_list, :custom_form, :entity, :klass, :posting_period, :ship_address_list
- attr_reader :internal_id, :external_id
+ attr_reader :internal_id
+ attr_accessor :external_id
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)