Class: Desertcart::Marketplace::PendingOrderItem::Searcher

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



19
20
21
# File 'lib/desertcart/marketplace/pending_order_items/searcher.rb', line 19

def ledger_namespace_path
  'marketplace'
end

#ledger_resource_typeObject



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_classObject



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_classObject



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