Class: CTA::Agency

Inherits:
Object
  • Object
show all
Defined in:
lib/cta_redux/models/agency.rb

Overview

Note:

Current columns: [:agency_name, :agency_url, :agency_timezone, :agency_lang, :agency_phone, :agency_fare_url]

A Sequel::Model. This corresponds to agency.txt in the GTFS feed, though the CTA does not fully implement the standard.

Instance Method Summary collapse

Instance Method Details

#agency_fare_urlString Also known as: fare_url

Returns:

  • (String)

19
# File 'lib/cta_redux/models/agency.rb', line 19

alias_method :name, :agency_name

#agency_langString Also known as: language

Returns:

  • (String)

19
# File 'lib/cta_redux/models/agency.rb', line 19

alias_method :name, :agency_name

#agency_nameString Also known as: name

Returns:

  • (String)

19
# File 'lib/cta_redux/models/agency.rb', line 19

alias_method :name, :agency_name

#agency_phoneString Also known as: phone

Returns:

  • (String)

19
# File 'lib/cta_redux/models/agency.rb', line 19

alias_method :name, :agency_name

#agency_timezoneString Also known as: timezone

Returns:

  • (String)

19
# File 'lib/cta_redux/models/agency.rb', line 19

alias_method :name, :agency_name

#agency_urlString Also known as: url

Returns:

  • (String)

19
# File 'lib/cta_redux/models/agency.rb', line 19

alias_method :name, :agency_name