Module: GoogleMapsService
- Defined in:
- lib/google_maps_service.rb,
lib/google_maps_service/roads.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/elevation.rb,
lib/google_maps_service/geocoding.rb,
lib/google_maps_service/time_zone.rb,
lib/google_maps_service/validator.rb,
lib/google_maps_service/directions.rb,
lib/google_maps_service/distance_matrix.rb
Defined Under Namespace
Modules: Convert, Directions, DistanceMatrix, Elevation, Error, Geocoding, Roads, TimeZone, Validator Classes: Client
Constant Summary collapse
- VERSION =
'0.3.0'
Class Attribute Summary collapse
-
.client_id ⇒ Object
Returns the value of attribute client_id.
-
.client_secret ⇒ Object
Returns the value of attribute client_secret.
-
.connect_timeout ⇒ Object
Returns the value of attribute connect_timeout.
-
.key ⇒ Object
Returns the value of attribute key.
-
.queries_per_second ⇒ Object
Returns the value of attribute queries_per_second.
-
.read_timeout ⇒ Object
Returns the value of attribute read_timeout.
-
.retry_timeout ⇒ Object
Returns the value of attribute retry_timeout.
Class Method Summary collapse
Class Attribute Details
.client_id ⇒ Object
Returns the value of attribute client_id.
3 4 5 |
# File 'lib/google_maps_service.rb', line 3 def client_id @client_id end |
.client_secret ⇒ Object
Returns the value of attribute client_secret.
3 4 5 |
# File 'lib/google_maps_service.rb', line 3 def client_secret @client_secret end |
.connect_timeout ⇒ Object
Returns the value of attribute connect_timeout.
3 4 5 |
# File 'lib/google_maps_service.rb', line 3 def connect_timeout @connect_timeout end |
.key ⇒ Object
Returns the value of attribute key.
3 4 5 |
# File 'lib/google_maps_service.rb', line 3 def key @key end |
.queries_per_second ⇒ Object
Returns the value of attribute queries_per_second.
3 4 5 |
# File 'lib/google_maps_service.rb', line 3 def queries_per_second @queries_per_second end |
.read_timeout ⇒ Object
Returns the value of attribute read_timeout.
3 4 5 |
# File 'lib/google_maps_service.rb', line 3 def read_timeout @read_timeout end |
.retry_timeout ⇒ Object
Returns the value of attribute retry_timeout.
3 4 5 |
# File 'lib/google_maps_service.rb', line 3 def retry_timeout @retry_timeout end |
Class Method Details
.configure {|_self| ... } ⇒ Object
5 6 7 8 |
# File 'lib/google_maps_service.rb', line 5 def configure yield self true end |