Sha256: f7b28c021927d0971dd675be283045e86b439aa076ab48dedc53316085a553f0

Contents?: true

Size: 633 Bytes

Versions: 31

Compression:

Stored size: 633 Bytes

Contents

module NetSuite
  module Records
    class Classification
      include Support::Fields
      include Support::Actions

      actions :get, :delete

      fields :name, :include_children, :is_inactive, :class_translation_list, :subsidiary_list, :custom_field_list

      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)
      end

    end
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
netsuite-0.0.37 lib/netsuite/records/classification.rb
netsuite-0.0.36 lib/netsuite/records/classification.rb
netsuite-0.0.35 lib/netsuite/records/classification.rb
netsuite-0.0.34 lib/netsuite/records/classification.rb
netsuite-0.0.33 lib/netsuite/records/classification.rb
netsuite-0.0.32 lib/netsuite/records/classification.rb
netsuite-0.0.31 lib/netsuite/records/classification.rb
netsuite-0.0.30 lib/netsuite/records/classification.rb
netsuite-0.0.29 lib/netsuite/records/classification.rb
netsuite-0.0.28 lib/netsuite/records/classification.rb
netsuite-0.0.27 lib/netsuite/records/classification.rb