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

Instance 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_api_customization.rb', line 12

def api_key
  @api_key
end

Instance Attribute Details

#address_componentsObject

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

#aspectsObject

Returns the value of attribute aspects.



3
4
5
# File 'lib/google_api_customization/place.rb', line 3

def aspects
  @aspects
end

#cidObject

Returns the value of attribute cid.



3
4
5
# File 'lib/google_api_customization/place.rb', line 3

def cid
  @cid
end

#cityObject

Returns the value of attribute city.



3
4
5
# File 'lib/google_api_customization/place.rb', line 3

def city
  @city
end

#countryObject

Returns the value of attribute country.



3
4
5
# File 'lib/google_api_customization/place.rb', line 3

def country
  @country
end

#eventsObject

Returns the value of attribute events.



3
4
5
# File 'lib/google_api_customization/place.rb', line 3

def events
  @events
end

#formatted_addressObject

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_numberObject

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

#iconObject

Returns the value of attribute icon.



3
4
5
# File 'lib/google_api_customization/place.rb', line 3

def icon
  @icon
end

#idObject

Returns the value of attribute id.



3
4
5
# File 'lib/google_api_customization/place.rb', line 3

def id
  @id
end

#international_phone_numberObject

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

#latObject

Returns the value of attribute lat.



3
4
5
# File 'lib/google_api_customization/place.rb', line 3

def lat
  @lat
end

#lngObject

Returns the value of attribute lng.



3
4
5
# File 'lib/google_api_customization/place.rb', line 3

def lng
  @lng
end

#nameObject

Returns the value of attribute name.



3
4
5
# File 'lib/google_api_customization/place.rb', line 3

def name
  @name
end

#nextpagetokenObject

Returns the value of attribute nextpagetoken.



3
4
5
# File 'lib/google_api_customization/place.rb', line 3

def nextpagetoken
  @nextpagetoken
end

#opening_hoursObject

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

#photosObject

Returns the value of attribute photos.



3
4
5
# File 'lib/google_api_customization/place.rb', line 3

def photos
  @photos
end

#place_idObject

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_codeObject

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_levelObject

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

#ratingObject

Returns the value of attribute rating.



3
4
5
# File 'lib/google_api_customization/place.rb', line 3

def rating
  @rating
end

#referenceObject

Returns the value of attribute reference.



3
4
5
# File 'lib/google_api_customization/place.rb', line 3

def reference
  @reference
end

#regionObject

Returns the value of attribute region.



3
4
5
# File 'lib/google_api_customization/place.rb', line 3

def region
  @region
end

#review_summaryObject

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

#reviewsObject

Returns the value of attribute reviews.



3
4
5
# File 'lib/google_api_customization/place.rb', line 3

def reviews
  @reviews
end

#streetObject

Returns the value of attribute street.



3
4
5
# File 'lib/google_api_customization/place.rb', line 3

def street
  @street
end

#street_numberObject

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

#typesObject

Returns the value of attribute types.



3
4
5
# File 'lib/google_api_customization/place.rb', line 3

def types
  @types
end

#urlObject

Returns the value of attribute url.



3
4
5
# File 'lib/google_api_customization/place.rb', line 3

def url
  @url
end

#utc_offsetObject

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

#vicinityObject

Returns the value of attribute vicinity.



3
4
5
# File 'lib/google_api_customization/place.rb', line 3

def vicinity
  @vicinity
end

#viewportObject

Returns the value of attribute viewport.



3
4
5
# File 'lib/google_api_customization/place.rb', line 3

def viewport
  @viewport
end

#websiteObject

Returns the value of attribute website.



3
4
5
# File 'lib/google_api_customization/place.rb', line 3

def website
  @website
end

#zagat_reviewedObject

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_selectedObject

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

Yields:

  • (_self)

Yield Parameters:



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

def configuration
  yield self
end