Class: Indix::Categories

Inherits:
Object
  • Object
show all
Extended by:
Resource
Defined in:
lib/indix/categories.rb

Class Method Summary collapse

Methods included from Resource

base_uri, client, get

Class Method Details

.allMash

Get all categories

Returns:

  • (Mash)

    an array containing each category’s Id, name, Id path and name path



8
9
10
# File 'lib/indix/categories.rb', line 8

def self.all
  get('/categories')
end