Class: MartaApi::Client
- Inherits:
-
Object
- Object
- MartaApi::Client
- Includes:
- Rest::API
- Defined in:
- lib/marta_api/client.rb
Constant Summary
Constants included from Utils
Utils::API_KEY_SUFFIX, Utils::GET_ALL_BUS_SCHEDULES_ENDPOINT, Utils::GET_BUS_SCHEDULE_BY_ROUTE_ENDPOINT, Utils::GET_RAIL_SCHEDULE_ENDPOINT, Utils::MARTA_API_KEY, Utils::MARTA_API_ROOT
Instance Method Summary collapse
-
#initialize ⇒ Client
constructor
A new instance of Client.
Methods included from Rest::Bus
#get_bus_schedule, #get_bus_schedule_by_route, #handle_response
Methods included from Utils
Methods included from Rest::Rail
#get_rail_schedule, #handle_response
Constructor Details
#initialize ⇒ Client
Returns a new instance of Client.
9 10 11 |
# File 'lib/marta_api/client.rb', line 9 def initialize Dotenv.load end |