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

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

Instance Method Summary collapse

Instance Method Details

#search(options = { }) ⇒ Object



112
113
114
115
116
117
118
119
120
# File 'lib/netsuite/actions/search.rb', line 112

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

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