Module: NetSuite::Actions::GetList::Support::ClassMethods
- Defined in:
- lib/netsuite/actions/get_list.rb
Instance Method Summary collapse
Instance Method Details
#get_list(options = { }, credentials = {}) ⇒ Object
76 77 78 79 80 81 82 83 84 85 86 |
# File 'lib/netsuite/actions/get_list.rb', line 76 def get_list( = { }, credentials={}) response = NetSuite::Actions::GetList.call([self, ], credentials) if response.success? response.body.map do |record| new(record[:record]) end else false end end |