Class: Desertcart::Marketplace::PendingOrderItem::Searcher
- Inherits:
-
Searcher
- Object
- LedgerSync::Ledgers::Searcher
- Searcher
- Desertcart::Marketplace::PendingOrderItem::Searcher
show all
- Defined in:
- lib/desertcart/marketplace/pending_order_items/searcher.rb
Instance Method Summary
collapse
Methods inherited from Searcher
#deserialized_resource, #ledger_resources_path, #next?, #resources, #response, #searcher_deserializer
Instance Method Details
#ledger_namespace_path ⇒ Object
19
20
21
|
# File 'lib/desertcart/marketplace/pending_order_items/searcher.rb', line 19
def ledger_namespace_path
'marketplace'
end
|
#ledger_resource_type ⇒ Object
15
16
17
|
# File 'lib/desertcart/marketplace/pending_order_items/searcher.rb', line 15
def ledger_resource_type
@ledger_resource_type ||= 'pending_order_items'
end
|
#resource_class ⇒ Object
7
8
9
|
# File 'lib/desertcart/marketplace/pending_order_items/searcher.rb', line 7
def resource_class
@resource_class ||= Desertcart::Marketplace::OrderItem
end
|
#searcher_deserializer_class ⇒ Object
11
12
13
|
# File 'lib/desertcart/marketplace/pending_order_items/searcher.rb', line 11
def searcher_deserializer_class
@searcher_deserializer_class ||= resource_class::Deserializer
end
|