Sha256: a210e9bc9cc5f19d6782291be8c40e68eba25ba94edc16f63cd3a2225231f460
Contents?: true
Size: 827 Bytes
Versions: 2
Compression:
Stored size: 827 Bytes
Contents
module Datarank class Client # Module containing methods for interacting with geocoded data module Locations # Fetch location pins for a topic # # @param slug [String] A topic's unique identifier slug def location_pins(slug, options={}) get "/topics/#{slug}/location/pins", options end # Fetch location provinces data for a topic # # @param slug [String] A topic's unique identifier slug def location_provinces(slug, options={}) get "/topics/#{slug}/location/provinces", options end # Fetch location heatmap data for a topic # # @param slug [String] A topic's unique identifier slug def location_heatmap(slug, options={}) get "/topics/#{slug}/location/heatmap", options end end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
datarank-v2-1.0.0 | lib/datarank/locations.rb |
datarank-1.4.0 | lib/datarank/locations.rb |