Module: CityGrid::API::Searchable

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



6
7
8
9
10
11
12
13
14
# File 'lib/citygrid/api/searchable.rb', line 6

def self.included base
  base.define_action :search, :get, "get",
    :auth_token => true,
    :format => true

  base.define_action :get, :get, nil,
    :auth_token => true,
    :format => true
end