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