Sha256: 6834c149d52df8590dea478e5a2eaad3aa67b3f46fa4cd7486808574d21c7793
Contents?: true
Size: 618 Bytes
Versions: 11
Compression:
Stored size: 618 Bytes
Contents
module NetSuite module Records class Department include Support::Fields include Support::RecordRefs include Support::Actions actions :get, :add, :delete fields :name, :is_inactive 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
11 entries across 11 versions & 1 rubygems