Sha256: bfead0f7181944bb5ece3197c9a486bb246d1daeb0519e47b0d864a97e9278c3

Contents?: true

Size: 647 Bytes

Versions: 39

Compression:

Stored size: 647 Bytes

Contents

module NetSuite
  module Records
    class Folder
      include Support::Fields
      include Support::RecordRefs
      include Support::Records
      include Support::Actions
      include Namespaces::FileCabinet

      actions :add

      fields :name

      record_refs :parent

      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

39 entries across 39 versions & 1 rubygems

Version Path
netsuite-0.7.6 lib/netsuite/records/folder.rb
netsuite-0.7.5 lib/netsuite/records/folder.rb
netsuite-0.7.4 lib/netsuite/records/folder.rb
netsuite-0.7.3 lib/netsuite/records/folder.rb
netsuite-0.7.2 lib/netsuite/records/folder.rb
netsuite-0.7.1 lib/netsuite/records/folder.rb
netsuite-0.7.0 lib/netsuite/records/folder.rb
netsuite-0.6.9 lib/netsuite/records/folder.rb
netsuite-0.6.8 lib/netsuite/records/folder.rb
netsuite-0.6.7 lib/netsuite/records/folder.rb
netsuite-0.6.6 lib/netsuite/records/folder.rb
netsuite-0.6.5 lib/netsuite/records/folder.rb
netsuite-0.6.4 lib/netsuite/records/folder.rb
netsuite-0.6.3 lib/netsuite/records/folder.rb
netsuite-0.6.2 lib/netsuite/records/folder.rb
netsuite-0.6.1 lib/netsuite/records/folder.rb
netsuite-0.6.0 lib/netsuite/records/folder.rb
netsuite-0.5.9 lib/netsuite/records/folder.rb
netsuite-0.5.8 lib/netsuite/records/folder.rb