Class: NetSuite::Actions::Search
- Inherits:
-
Object
- Object
- NetSuite::Actions::Search
- Includes:
- Support::Requests
- Defined in:
- lib/netsuite/actions/search.rb
Defined Under Namespace
Modules: Support
Instance Method Summary collapse
- #class_name ⇒ Object
-
#initialize(klass, options = { }) ⇒ Search
constructor
A new instance of Search.
Methods included from Support::Requests
Constructor Details
#initialize(klass, options = { }) ⇒ Search
Returns a new instance of Search.
7 8 9 10 |
# File 'lib/netsuite/actions/search.rb', line 7 def initialize(klass, = { }) @klass = klass @options = end |
Instance Method Details
#class_name ⇒ Object
12 13 14 15 16 17 18 |
# File 'lib/netsuite/actions/search.rb', line 12 def class_name @class_name ||= if @klass.respond_to? :search_class_name @klass.search_class_name else @klass.to_s.split("::").last end end |