Module: GoogleMapsApis
- Defined in:
- lib/google_maps_apis.rb,
lib/google_maps_apis/url.rb,
lib/google_maps_apis/client.rb,
lib/google_maps_apis/errors.rb,
lib/google_maps_apis/convert.rb,
lib/google_maps_apis/version.rb,
lib/google_maps_apis/polyline.rb,
lib/google_maps_apis/services.rb,
lib/google_maps_apis/validator.rb
Overview
Google Maps Web Service API.
Defined Under Namespace
Modules: Convert, Error, Polyline, Services, Url, Validator Classes: Client
Constant Summary collapse
- VERSION =
GoogleMapsApis gem version
'1.0.1'
Class Attribute Summary collapse
-
.client_id ⇒ String
Global client_id.
-
.client_secret ⇒ String
Global client_secret.
-
.connection ⇒ Object
Global connection.
-
.key ⇒ String
Global key.
-
.queries_per_second ⇒ Integer
Global queries_per_second.
-
.request_options ⇒ Faraday::RequestOptions
Global request_options.
-
.retry_timeout ⇒ Integer
Global retry_timeout.
-
.ssl_options ⇒ Faraday::SslOptions
Global ssl_options.
Class Method Summary collapse
-
.configure {|config| ... } ⇒ Object
Configure global parameters.
Class Attribute Details
.client_id ⇒ String
Global client_id.
13 14 15 |
# File 'lib/google_maps_apis.rb', line 13 def client_id @client_id end |
.client_secret ⇒ String
Global client_secret.
18 19 20 |
# File 'lib/google_maps_apis.rb', line 18 def client_secret @client_secret end |
.connection ⇒ Object
Global connection.
43 44 45 |
# File 'lib/google_maps_apis.rb', line 43 def connection @connection end |
.key ⇒ String
Global key.
8 9 10 |
# File 'lib/google_maps_apis.rb', line 8 def key @key end |
.queries_per_second ⇒ Integer
Global queries_per_second.
28 29 30 |
# File 'lib/google_maps_apis.rb', line 28 def queries_per_second @queries_per_second end |
.request_options ⇒ Faraday::RequestOptions
Global request_options.
33 34 35 |
# File 'lib/google_maps_apis.rb', line 33 def @request_options end |
.retry_timeout ⇒ Integer
Global retry_timeout.
23 24 25 |
# File 'lib/google_maps_apis.rb', line 23 def retry_timeout @retry_timeout end |
.ssl_options ⇒ Faraday::SslOptions
Global ssl_options.
38 39 40 |
# File 'lib/google_maps_apis.rb', line 38 def @ssl_options end |
Class Method Details
.configure {|config| ... } ⇒ Object
Configure global parameters.
47 48 49 50 |
# File 'lib/google_maps_apis.rb', line 47 def configure yield self true end |