Class: Desertcart::Marketplace::OrderItem::Searcher

Inherits:
Searcher
  • Object
show all
Defined in:
lib/desertcart/marketplace/order_item/searcher.rb

Instance Method Summary collapse

Methods inherited from Searcher

#deserialized_resource, #ledger_resource_type, #ledger_resources_path, #next?, #resources, #response, #searcher_deserializer

Instance Method Details

#ledger_namespace_pathObject



15
16
17
# File 'lib/desertcart/marketplace/order_item/searcher.rb', line 15

def ledger_namespace_path
  'marketplace'
end

#resource_classObject



7
8
9
# File 'lib/desertcart/marketplace/order_item/searcher.rb', line 7

def resource_class
  @resource_class ||= Desertcart::Marketplace::OrderItem
end

#searcher_deserializer_classObject



11
12
13
# File 'lib/desertcart/marketplace/order_item/searcher.rb', line 11

def searcher_deserializer_class
  @searcher_deserializer_class ||= resource_class::Deserializer
end