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(={}, raw=false) get("/categories/#{api_version}", , raw) end |
#category(id, options = {}, raw = false) ⇒ Object
9 10 11 |
# File 'lib/reshape/client/categories.rb', line 9 def category(id, ={}, raw=false) get("/categories/#{id}/#{api_version}", , raw) end |