Module: GoogleApiCustomization
- Defined in:
- lib/google_api_customization.rb,
lib/google_api_customization/photo.rb,
lib/google_api_customization/place.rb,
lib/google_api_customization/errors.rb,
lib/google_api_customization/review.rb,
lib/google_api_customization/api_key.rb,
lib/google_api_customization/request.rb,
lib/google_api_customization/version.rb
Defined Under Namespace
Classes: ApiKey, Error, InvalidRequestError, NotFoundError, OverQueryLimitError, Photo, Place, Request, RequestDeniedError, RetryError, RetryTimeoutError, Review, UnknownError
Constant Summary collapse
- VERSION =
"0.1.1"
Class Attribute Summary collapse
-
.api_key ⇒ Object
Returns the value of attribute api_key.
Instance Attribute Summary collapse
-
#address_components ⇒ Object
Returns the value of attribute address_components.
-
#aspects ⇒ Object
Returns the value of attribute aspects.
-
#cid ⇒ Object
Returns the value of attribute cid.
-
#city ⇒ Object
Returns the value of attribute city.
-
#country ⇒ Object
Returns the value of attribute country.
-
#events ⇒ Object
Returns the value of attribute events.
-
#formatted_address ⇒ Object
Returns the value of attribute formatted_address.
-
#formatted_phone_number ⇒ Object
Returns the value of attribute formatted_phone_number.
-
#icon ⇒ Object
Returns the value of attribute icon.
-
#id ⇒ Object
Returns the value of attribute id.
-
#international_phone_number ⇒ Object
Returns the value of attribute international_phone_number.
-
#lat ⇒ Object
Returns the value of attribute lat.
-
#lng ⇒ Object
Returns the value of attribute lng.
-
#name ⇒ Object
Returns the value of attribute name.
-
#nextpagetoken ⇒ Object
Returns the value of attribute nextpagetoken.
-
#opening_hours ⇒ Object
Returns the value of attribute opening_hours.
-
#photos ⇒ Object
Returns the value of attribute photos.
-
#place_id ⇒ Object
Returns the value of attribute place_id.
-
#postal_code ⇒ Object
Returns the value of attribute postal_code.
-
#price_level ⇒ Object
Returns the value of attribute price_level.
-
#rating ⇒ Object
Returns the value of attribute rating.
-
#reference ⇒ Object
Returns the value of attribute reference.
-
#region ⇒ Object
Returns the value of attribute region.
-
#review_summary ⇒ Object
Returns the value of attribute review_summary.
-
#reviews ⇒ Object
Returns the value of attribute reviews.
-
#street ⇒ Object
Returns the value of attribute street.
-
#street_number ⇒ Object
Returns the value of attribute street_number.
-
#types ⇒ Object
Returns the value of attribute types.
-
#url ⇒ Object
Returns the value of attribute url.
-
#utc_offset ⇒ Object
Returns the value of attribute utc_offset.
-
#vicinity ⇒ Object
Returns the value of attribute vicinity.
-
#viewport ⇒ Object
Returns the value of attribute viewport.
-
#website ⇒ Object
Returns the value of attribute website.
-
#zagat_reviewed ⇒ Object
Returns the value of attribute zagat_reviewed.
-
#zagat_selected ⇒ Object
Returns the value of attribute zagat_selected.
Class Method Summary collapse
Class Attribute Details
.api_key ⇒ Object
Returns the value of attribute api_key.
12 13 14 |
# File 'lib/google_api_customization.rb', line 12 def api_key @api_key end |
Instance Attribute Details
#address_components ⇒ Object
Returns the value of attribute address_components.
3 4 5 |
# File 'lib/google_api_customization/place.rb', line 3 def address_components @address_components end |
#aspects ⇒ Object
Returns the value of attribute aspects.
3 4 5 |
# File 'lib/google_api_customization/place.rb', line 3 def aspects @aspects end |
#cid ⇒ Object
Returns the value of attribute cid.
3 4 5 |
# File 'lib/google_api_customization/place.rb', line 3 def cid @cid end |
#city ⇒ Object
Returns the value of attribute city.
3 4 5 |
# File 'lib/google_api_customization/place.rb', line 3 def city @city end |
#country ⇒ Object
Returns the value of attribute country.
3 4 5 |
# File 'lib/google_api_customization/place.rb', line 3 def country @country end |
#events ⇒ Object
Returns the value of attribute events.
3 4 5 |
# File 'lib/google_api_customization/place.rb', line 3 def events @events end |
#formatted_address ⇒ Object
Returns the value of attribute formatted_address.
3 4 5 |
# File 'lib/google_api_customization/place.rb', line 3 def formatted_address @formatted_address end |
#formatted_phone_number ⇒ Object
Returns the value of attribute formatted_phone_number.
3 4 5 |
# File 'lib/google_api_customization/place.rb', line 3 def formatted_phone_number @formatted_phone_number end |
#icon ⇒ Object
Returns the value of attribute icon.
3 4 5 |
# File 'lib/google_api_customization/place.rb', line 3 def icon @icon end |
#id ⇒ Object
Returns the value of attribute id.
3 4 5 |
# File 'lib/google_api_customization/place.rb', line 3 def id @id end |
#international_phone_number ⇒ Object
Returns the value of attribute international_phone_number.
3 4 5 |
# File 'lib/google_api_customization/place.rb', line 3 def international_phone_number @international_phone_number end |
#lat ⇒ Object
Returns the value of attribute lat.
3 4 5 |
# File 'lib/google_api_customization/place.rb', line 3 def lat @lat end |
#lng ⇒ Object
Returns the value of attribute lng.
3 4 5 |
# File 'lib/google_api_customization/place.rb', line 3 def lng @lng end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/google_api_customization/place.rb', line 3 def name @name end |
#nextpagetoken ⇒ Object
Returns the value of attribute nextpagetoken.
3 4 5 |
# File 'lib/google_api_customization/place.rb', line 3 def nextpagetoken @nextpagetoken end |
#opening_hours ⇒ Object
Returns the value of attribute opening_hours.
3 4 5 |
# File 'lib/google_api_customization/place.rb', line 3 def opening_hours @opening_hours end |
#photos ⇒ Object
Returns the value of attribute photos.
3 4 5 |
# File 'lib/google_api_customization/place.rb', line 3 def photos @photos end |
#place_id ⇒ Object
Returns the value of attribute place_id.
3 4 5 |
# File 'lib/google_api_customization/place.rb', line 3 def place_id @place_id end |
#postal_code ⇒ Object
Returns the value of attribute postal_code.
3 4 5 |
# File 'lib/google_api_customization/place.rb', line 3 def postal_code @postal_code end |
#price_level ⇒ Object
Returns the value of attribute price_level.
3 4 5 |
# File 'lib/google_api_customization/place.rb', line 3 def price_level @price_level end |
#rating ⇒ Object
Returns the value of attribute rating.
3 4 5 |
# File 'lib/google_api_customization/place.rb', line 3 def @rating end |
#reference ⇒ Object
Returns the value of attribute reference.
3 4 5 |
# File 'lib/google_api_customization/place.rb', line 3 def reference @reference end |
#region ⇒ Object
Returns the value of attribute region.
3 4 5 |
# File 'lib/google_api_customization/place.rb', line 3 def region @region end |
#review_summary ⇒ Object
Returns the value of attribute review_summary.
3 4 5 |
# File 'lib/google_api_customization/place.rb', line 3 def review_summary @review_summary end |
#reviews ⇒ Object
Returns the value of attribute reviews.
3 4 5 |
# File 'lib/google_api_customization/place.rb', line 3 def reviews @reviews end |
#street ⇒ Object
Returns the value of attribute street.
3 4 5 |
# File 'lib/google_api_customization/place.rb', line 3 def street @street end |
#street_number ⇒ Object
Returns the value of attribute street_number.
3 4 5 |
# File 'lib/google_api_customization/place.rb', line 3 def street_number @street_number end |
#types ⇒ Object
Returns the value of attribute types.
3 4 5 |
# File 'lib/google_api_customization/place.rb', line 3 def types @types end |
#url ⇒ Object
Returns the value of attribute url.
3 4 5 |
# File 'lib/google_api_customization/place.rb', line 3 def url @url end |
#utc_offset ⇒ Object
Returns the value of attribute utc_offset.
3 4 5 |
# File 'lib/google_api_customization/place.rb', line 3 def utc_offset @utc_offset end |
#vicinity ⇒ Object
Returns the value of attribute vicinity.
3 4 5 |
# File 'lib/google_api_customization/place.rb', line 3 def vicinity @vicinity end |
#viewport ⇒ Object
Returns the value of attribute viewport.
3 4 5 |
# File 'lib/google_api_customization/place.rb', line 3 def @viewport end |
#website ⇒ Object
Returns the value of attribute website.
3 4 5 |
# File 'lib/google_api_customization/place.rb', line 3 def website @website end |
#zagat_reviewed ⇒ Object
Returns the value of attribute zagat_reviewed.
3 4 5 |
# File 'lib/google_api_customization/place.rb', line 3 def zagat_reviewed @zagat_reviewed end |
#zagat_selected ⇒ Object
Returns the value of attribute zagat_selected.
3 4 5 |
# File 'lib/google_api_customization/place.rb', line 3 def zagat_selected @zagat_selected end |
Class Method Details
.configuration {|_self| ... } ⇒ Object
14 15 16 |
# File 'lib/google_api_customization.rb', line 14 def configuration yield self end |