Class: Mocodo::MountainIdentification::RidgeRendering
- Defined in:
- lib/mocodo/mountain_identification.rb
Constant Summary collapse
- EndPoint =
"/mountainIdentification/v1/ridgeRendering"
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Mocodo::Base
Instance Method Details
#rendering(options = {}) ⇒ Object
5 6 7 8 |
# File 'lib/mocodo/mountain_identification.rb', line 5 def rendering(={}) response = get(build_url(EndPoint, ), {'Content-Type' =>'application/json'}) JSON.parse(response, symbolize_names: true) end |