Module: Reshape::Client::Categories

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

Instance Method Summary collapse

Instance Method Details

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



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

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

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



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

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