Method: SamtrafikenAPI::Resrobot#time_table_period

Defined in:
lib/samtrafiken_api/resrobot.rb

#time_table_periodHash

Endpoint: TimeTablePeriod

Documentation: http://www.trafiklab.se/api/resrobot/timetableperiod

Returns:

  • (Hash)

    a hash containing the returned data.



66
67
68
69
# File 'lib/samtrafiken_api/resrobot.rb', line 66

def time_table_period
  @response = self.class.get('/TimeTablePeriod.json')
  return read_response @response
end