Class: DearInventory::Customer

Inherits:
Resource
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/dear_inventory/resources/customer.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
# File 'lib/dear_inventory/resources/customer.rb', line 17

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