Class: Citywrapper::SinglePointCoverage
- Defined in:
- lib/citywrapper/resources/single_point_coverage.rb
Constant Summary
Constants inherited from ApiBase
Instance Attribute Summary
Attributes inherited from ApiBase
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ SinglePointCoverage
constructor
A new instance of SinglePointCoverage.
Methods inherited from ApiBase
Constructor Details
#initialize ⇒ SinglePointCoverage
Returns a new instance of SinglePointCoverage.
5 6 7 8 |
# File 'lib/citywrapper/resources/single_point_coverage.rb', line 5 def initialize super @resource = 'singlepointcoverage' end |
Class Method Details
.at(coordinates: []) ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/citywrapper/resources/single_point_coverage.rb', line 10 def self.at(coordinates: []) new.request( params: { coord: coordinates.join(',') } ) end |