Sha256: 2ef2e264f77229e5a27a95ec91d117be984d7108ea65f8cf86ca99ee377af183

Contents?: true

Size: 297 Bytes

Versions: 4

Compression:

Stored size: 297 Bytes

Contents

#encoding: utf-8

module HH
  module API
    module Metro
      def metro
        get("metro")
      end

      def metro_line(line_id)
        get("metro/#{line_id}")
      end

      def metro_station(station_id, line_id)
        get("metro/#{station_id},#{line_id}")
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hh-0.0.7 lib/hh/API/metro.rb
hh-0.0.6 lib/hh/API/metro.rb
hh-0.0.5 lib/hh/API/metro.rb
hh-0.0.4 lib/hh/API/metro.rb