Methods


loadFeed( config, callback )

Description

Load the NYSTA Transit Feed

Parameters
Name Type Description
config Object

Transit Agency config

callback function

Callback function

Name Type Attributes Description
error Error <optional>

Transit Feed Error. The Error's message will be a pipe (|) separated string in the format of: Error Code|Error Type|Error Message that will be parsed out by the Right Track API Server into a more specific error Response.

feed TransitFeed <optional>

The built Transit Feed for NYSTA

Details

_title( str ) → {String}

Description

Convert a string to Title Case

Parameters
Name Type Description
str String

String to convert

Returns
Details