Module: Rlocu

Defined in:
lib/rlocu.rb,
lib/rlocu/menu.rb,
lib/rlocu/venue.rb,
lib/rlocu/version.rb,
lib/rlocu/geo_json.rb,
lib/rlocu/venue_query.rb,
lib/rlocu/venue_search.rb,
lib/rlocu/query_builder.rb,
lib/rlocu/utilities/lat_long_radius.rb

Defined Under Namespace

Modules: QueryBuilder, Utilities Classes: GeoJSON, Menu, Venue, VenueQuery, VenueSearch

Constant Summary collapse

RlocuError =
Class.new(StandardError)
VERSION =
"0.2.1"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.api_keyObject

Returns the value of attribute api_key.



5
6
7
# File 'lib/rlocu.rb', line 5

def api_key
  @api_key
end

Class Method Details

.api_versionObject



10
11
12
# File 'lib/rlocu.rb', line 10

def api_version
  'v2'
end

.configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (Rlocu)

    the object that the method was called on



6
7
8
# File 'lib/rlocu.rb', line 6

def configure
  yield self
end