Sha256: 93d911ebd8818df8f79f7f3f6b9cbdbe116930623a43c9e7b200c49f43f473b4

Contents?: true

Size: 300 Bytes

Versions: 67

Compression:

Stored size: 300 Bytes

Contents

module NetSuite
  module Records
    class LocationsList
      def initialize(attributes = {})
        attributes[:locations].each do |location|
          locations << location
        end if attributes[:locations]
      end

      def locations
        @locations ||= []
      end
    end
  end
end

Version data entries

67 entries across 67 versions & 1 rubygems

Version Path
netsuite-0.9.3 lib/netsuite/records/locations_list.rb
netsuite-0.9.2 lib/netsuite/records/locations_list.rb
netsuite-0.9.1 lib/netsuite/records/locations_list.rb
netsuite-0.9.0 lib/netsuite/records/locations_list.rb
netsuite-0.8.12 lib/netsuite/records/locations_list.rb
netsuite-0.8.11 lib/netsuite/records/locations_list.rb
netsuite-0.8.10 lib/netsuite/records/locations_list.rb
netsuite-0.8.9 lib/netsuite/records/locations_list.rb
netsuite-0.8.8 lib/netsuite/records/locations_list.rb
netsuite-0.8.7 lib/netsuite/records/locations_list.rb
netsuite-0.8.6 lib/netsuite/records/locations_list.rb
netsuite-0.8.5 lib/netsuite/records/locations_list.rb
netsuite-0.8.4 lib/netsuite/records/locations_list.rb
netsuite-0.8.3 lib/netsuite/records/locations_list.rb
netsuite-0.8.2 lib/netsuite/records/locations_list.rb
netsuite-0.8.1 lib/netsuite/records/locations_list.rb
netsuite-0.8.0 lib/netsuite/records/locations_list.rb
netsuite-0.7.9 lib/netsuite/records/locations_list.rb
netsuite-0.7.8 lib/netsuite/records/locations_list.rb
netsuite-0.7.7 lib/netsuite/records/locations_list.rb