Class: Veeqo::Supplier

Inherits:
Base
  • Object
show all
Includes:
Actions::Base
Defined in:
lib/veeqo/supplier.rb

Instance Method Summary collapse

Methods included from Actions::Delete

#delete

Methods included from Actions::Find

#find

Methods included from Actions::List

#list

Methods inherited from Base

method_missing

Instance Method Details

#create(name:) ⇒ Object



5
6
7
# File 'lib/veeqo/supplier.rb', line 5

def create(name:)
  create_resource(name: name)
end

#update(supplier_id, attributes) ⇒ Object



9
10
11
# File 'lib/veeqo/supplier.rb', line 9

def update(supplier_id, attributes)
  update_resource(supplier_id, attributes)
end