Sha256: d179a7c672ce565c21d873db99b091f3d67699014eb4702abfdb215824e6a538
Contents?: true
Size: 411 Bytes
Versions: 3
Compression:
Stored size: 411 Bytes
Contents
module HH module API module Metro def metro response = connection.get("metro") response.body end def metro_line(line_id) response = connection.get("metro/#{line_id}") response.body end def metro_station(station_id, line_id) response = connection.get("metro/#{station_id},#{line_id}") response.body end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
hh-0.0.3 | lib/hh/API/metro.rb |
hh-0.0.2 | lib/hh/API/metro.rb |
hh-0.0.1 | lib/hh/API/metro.rb |