Module: SeeClickFix::Client::ServiceRequestTypes
- Included in:
- SeeClickFix::Client
- Defined in:
- lib/seeclickfix/client/service_request_types.rb
Instance Method Summary collapse
-
#service_request_types(lat, lng, options = {}) ⇒ Array<Hashie::Mash>
Use this query to list valid service request types (things like pothole, graffiti, street light out etc.) for a given location.
Instance Method Details
#service_request_types(lat, lng, options = {}) ⇒ Array<Hashie::Mash>
Use this query to list valid service request types (things like pothole, graffiti, street light out etc.) for a given location.
15 16 17 |
# File 'lib/seeclickfix/client/service_request_types.rb', line 15 def service_request_types(lat,lng,={}) get("api/request_types/at.json?lat=#{lat}&lng=#{lng}", ) end |