Sha256: ac3ead5bb7289769ba6c661553acad94f5a6d6919512f7572a56b86c821dda2d

Contents?: true

Size: 398 Bytes

Versions: 47

Compression:

Stored size: 398 Bytes

Contents

module NetSuite
  module Support
    module RecordRefs

      def self.included(base)
        base.extend(ClassMethods)
      end

      module ClassMethods

        def record_refs(*names)
          names.each do |name|
            record_ref name
          end
        end

        def record_ref(name)
          field name, NetSuite::Records::RecordRef
        end

      end

    end
  end
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
netsuite-0.0.47 lib/netsuite/support/record_refs.rb
netsuite-0.0.45 lib/netsuite/support/record_refs.rb
netsuite-0.0.44 lib/netsuite/support/record_refs.rb
netsuite-0.0.43 lib/netsuite/support/record_refs.rb
netsuite-0.0.42 lib/netsuite/support/record_refs.rb
netsuite-0.0.41 lib/netsuite/support/record_refs.rb
netsuite-0.0.40 lib/netsuite/support/record_refs.rb
netsuite-0.0.39 lib/netsuite/support/record_refs.rb
netsuite-0.0.38 lib/netsuite/support/record_refs.rb
netsuite-0.0.37 lib/netsuite/support/record_refs.rb
netsuite-0.0.36 lib/netsuite/support/record_refs.rb
netsuite-0.0.35 lib/netsuite/support/record_refs.rb
netsuite-0.0.34 lib/netsuite/support/record_refs.rb
netsuite-0.0.33 lib/netsuite/support/record_refs.rb
netsuite-0.0.32 lib/netsuite/support/record_refs.rb
netsuite-0.0.31 lib/netsuite/support/record_refs.rb
netsuite-0.0.30 lib/netsuite/support/record_refs.rb
netsuite-0.0.29 lib/netsuite/support/record_refs.rb
netsuite-0.0.28 lib/netsuite/support/record_refs.rb
netsuite-0.0.27 lib/netsuite/support/record_refs.rb