Class: DearInventory::ProductAvailability

Inherits:
Resource
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/dear_inventory/resources/product_availability.rb

Class Method Summary collapse

Methods inherited from Resource

#request

Methods included from IsASubclass

#is_a?

Class Method Details

.index(params = {}) ⇒ Object Also known as: call



17
18
19
20
21
22
23
# File 'lib/dear_inventory/resources/product_availability.rb', line 17

def index(params = {})
  new.request(
    :get,
    params: params,
    model: DearInventory::Models::ProductAvailabilityResults
  )
end