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