class GoogleApiCustomization::ApiKey
Attributes
api_key[R]
options[R]
sensor[R]
Public Class Methods
new(api_key = @api_key, sensor = false, options = {})
click to toggle source
# File lib/google_api_customization/api_key.rb, line 10 def initialize(api_key = @api_key, sensor = false, options = {}) api_key ? @api_key = api_key : @api_key = GoogleApiCustomization.api_key @sensor = sensor @options = options end
Public Instance Methods
place_detail(place_id, options = {})
click to toggle source
# File lib/google_api_customization/api_key.rb, line 16 def place_detail(place_id, options = {}) Place.find(place_id, @api_key, @sensor, @options.merge(options)) end