Class: ActiveadminGooglePlaces::Configuration
- Inherits:
-
Object
- Object
- ActiveadminGooglePlaces::Configuration
- Defined in:
- lib/activeadmin_google_places.rb
Instance Attribute Summary collapse
-
#google_api_key ⇒ Object
Returns the value of attribute google_api_key.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
21 22 23 |
# File 'lib/activeadmin_google_places.rb', line 21 def initialize @google_api_key = 'YOUR_APT_KEY' end |
Instance Attribute Details
#google_api_key ⇒ Object
Returns the value of attribute google_api_key.
19 20 21 |
# File 'lib/activeadmin_google_places.rb', line 19 def google_api_key @google_api_key end |