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.4.4 lib/netsuite/support/record_refs.rb
netsuite-0.4.3 lib/netsuite/support/record_refs.rb
netsuite-0.4.2 lib/netsuite/support/record_refs.rb
netsuite-0.4.1 lib/netsuite/support/record_refs.rb
netsuite-0.4.0 lib/netsuite/support/record_refs.rb
netsuite-0.3.3 lib/netsuite/support/record_refs.rb
netsuite-0.3.2 lib/netsuite/support/record_refs.rb
netsuite-0.3.1 lib/netsuite/support/record_refs.rb
netsuite-0.3.0 lib/netsuite/support/record_refs.rb
netsuite-0.2.6 lib/netsuite/support/record_refs.rb
netsuite-0.2.5 lib/netsuite/support/record_refs.rb
netsuite-0.2.4 lib/netsuite/support/record_refs.rb
netsuite-0.2.3 lib/netsuite/support/record_refs.rb
netsuite-0.2.2 lib/netsuite/support/record_refs.rb
netsuite-0.2.1 lib/netsuite/support/record_refs.rb
netsuite-0.2.0 lib/netsuite/support/record_refs.rb
netsuite-0.1.0 lib/netsuite/support/record_refs.rb
netsuite-0.0.50 lib/netsuite/support/record_refs.rb
netsuite-0.0.49 lib/netsuite/support/record_refs.rb
netsuite-0.0.48 lib/netsuite/support/record_refs.rb