Class: LedgerSync::NetSuite::Operation::Find

Inherits:
Object
  • Object
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

Returns:

  • (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

Returns:

  • (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_paramsObject



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