Class: Mapbox::Html
Overview
Html map
Instance Attribute Summary
Attributes inherited from Base
#access_token, #access_token_secret, #lat, #lon, #map_option, #map_type, #mapid, #overlays, #x, #y, #z, #zoom
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ Html
constructor
A new instance of Html.
- #response ⇒ Object
Methods inherited from Base
#base_url, #connection, #llz, #parameters_check, #wh
Constructor Details
#initialize(opts = {}) ⇒ Html
Returns a new instance of Html.
6 7 8 9 |
# File 'lib/mapbox/html.rb', line 6 def initialize(opts = {}) super(opts) @map_type = 'html' end |
Instance Method Details
#response ⇒ Object
11 12 13 |
# File 'lib/mapbox/html.rb', line 11 def response get.body end |