Module: Reshape::Client::Materials

Included in:
Reshape::Client
Defined in:
lib/reshape/client/materials.rb

Instance Method Summary collapse

Instance Method Details

#material(id, options = {}, raw = false) ⇒ Object



9
10
11
# File 'lib/reshape/client/materials.rb', line 9

def material(id, options={}, raw=false)
  get("/materials/#{id}/#{api_version}", options, raw)
end

#materials(options = {}, raw = false) ⇒ Object



5
6
7
# File 'lib/reshape/client/materials.rb', line 5

def materials(options={}, raw=false)
  get("/materials/#{api_version}", options, raw)
end