Sha256: 883ebc958a1ccea74efed21d253dd9107b0690fb3d2526f056253346d37118fc

Contents?: true

Size: 330 Bytes

Versions: 6

Compression:

Stored size: 330 Bytes

Contents

# /get endpoint

class CityGrid
  class API
    module Searchable
      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
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
citygrid_api-0.0.28 lib/citygrid/api/searchable.rb
citygrid_api-0.0.27 lib/citygrid/api/searchable.rb
citygrid_api-0.0.26 lib/citygrid/api/searchable.rb
citygrid_api-0.0.25 lib/citygrid/api/searchable.rb
citygrid_api-0.0.24 lib/citygrid/api/searchable.rb
citygrid_api-0.0.23 lib/citygrid/api/searchable.rb