Module: NetSuite::Actions::Search::Support::ClassMethods

Defined in:
lib/netsuite/actions/search.rb

Instance Method Summary collapse

Instance Method Details

#search(options = { }) ⇒ Object



231
232
233
234
235
236
237
238
239
# File 'lib/netsuite/actions/search.rb', line 231

def search(options = { })
  response = NetSuite::Actions::Search.call(self, options)

  if response.success?
    NetSuite::Support::SearchResult.new(response, self)
  else
    false
  end
end