module NetSuite::Actions::UpdateList::Support::ClassMethods
Public Instance Methods
update_list(records, credentials = {})
click to toggle source
# File lib/netsuite/actions/update_list.rb, line 89 def update_list(records, credentials = {}) netsuite_records = records.map do |r| if r.kind_of?(self) r else self.new(r) end end response = NetSuite::Actions::UpdateList.call(netsuite_records, credentials) if response.success? netsuite_records else false end end