module Bespokify::Client::Material

Public Instance Methods

create_material(options = {}) click to toggle source
# File lib/bespokify/client/material.rb, line 12
def create_material(options = {})
  post('/materials', options)
end
delete_material(material_id) click to toggle source
# File lib/bespokify/client/material.rb, line 20
def delete_material(material_id)
  delete("/materials/#{material_id}")
end
material(material_id) click to toggle source
# File lib/bespokify/client/material.rb, line 8
def material(material_id)
  get("/materials/#{material_id}")
end
materials(options = {}) click to toggle source
# File lib/bespokify/client/material.rb, line 4
def materials(options = {})
  get('/materials', options)
end
update_material(material_id, options = {}) click to toggle source
# File lib/bespokify/client/material.rb, line 16
def update_material(material_id, options = {})
  patch("/materials/#{material_id}", options)
end