Class: Veeqo::Store

Inherits:
Base
  • Object
show all
Includes:
Actions::Base
Defined in:
lib/veeqo/store.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:, type_code:) ⇒ Object



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

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

#update(store_id, attributes) ⇒ Object



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

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