Class: DearInventory::AdvancedPurchase

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

Class Method Summary collapse

Methods inherited from Resource

#request

Methods included from IsASubclass

#is_a?

Class Method Details

.show(params = {}) ⇒ Object



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

def show(params = {})
  new.request(
    :get,
    endpoint: "show",
    model: DearInventory::Models::AdvancedPurchase,
    params: params
  )
end