class TflApi::Client::Cycle
This class communicates with the TFL “/CycleSuperhighway” API to obtain details about the cycle superhighways based upon their IDs.
Public Class Methods
Public Instance Methods
superhighway(id)
click to toggle source
Returns the all details known by the TFL service for the given Cycle
Superhighway id.
@param id [String] the TFL Cycle
Superhighway id
@return [hash] A hash containing the details of the given Cycle
Superhighway
# File lib/tfl_api_client/cycle.rb, line 60 def superhighway(id) @client.get("/CycleSuperhighway/#{id}") end