Class: LedgerSync::NetSuite::Operation::Find
- Inherits:
-
Object
- Object
- LedgerSync::NetSuite::Operation::Find
show all
- Includes:
- Mixin
- Defined in:
- lib/ledger_sync/netsuite/operation/find.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Methods included from Mixin
included
Class Method Details
.expand_sub_resources? ⇒ Boolean
21
22
23
|
# File 'lib/ledger_sync/netsuite/operation/find.rb', line 21
def self.expand_sub_resources?
true
end
|
Instance Method Details
#expand_sub_resources? ⇒ Boolean
17
18
19
|
# File 'lib/ledger_sync/netsuite/operation/find.rb', line 17
def expand_sub_resources?
self.class.expand_sub_resources?
end
|
#request_params ⇒ Object
11
12
13
14
15
|
# File 'lib/ledger_sync/netsuite/operation/find.rb', line 11
def request_params
return super unless expand_sub_resources?
super.merge({ expandSubResources: expand_sub_resources? })
end
|