Class: Indix::Stores

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

Class Method Summary collapse

Methods included from Resource

base_uri, client, get

Class Method Details

.search(query) ⇒ Mash

Get the stores matching the query text

Parameters:

Returns:

  • (Mash)

    an array containing each matching store’s Id and name



9
10
11
# File 'lib/indix/stores.rb', line 9

def self.search(query)
  get('/stores', {:query => query})
end