Module: GooglePlaces

Defined in:
lib/google_places.rb,
lib/google_places/spot.rb,
lib/google_places/error.rb,
lib/google_places/photo.rb,
lib/google_places/client.rb,
lib/google_places/review.rb,
lib/google_places/request.rb,
lib/google_places/location.rb,
lib/google_places/rectangle.rb,
lib/google_places/prediction.rb

Defined Under Namespace

Classes: APIConnectionError, Client, InvalidRequestError, Location, NotFoundError, OverQueryLimitError, Photo, Prediction, Rectangle, Request, RequestDeniedError, RetryError, RetryTimeoutError, Review, Spot, UnknownError

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.api_keyObject

Returns the value of attribute api_key.



12
13
14
# File 'lib/google_places.rb', line 12

def api_key
  @api_key
end

Class Method Details

.configuration {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (GooglePlaces)

    the object that the method was called on



14
15
16
# File 'lib/google_places.rb', line 14

def configuration
  yield self
end