Class: SmsMyBus::Locations
- Inherits:
-
Object
- Object
- SmsMyBus::Locations
- Defined in:
- lib/sms_my_bus/locations.rb
Class Method Summary collapse
Class Method Details
.get_stops(route_id) ⇒ Object
3 4 5 6 7 8 |
# File 'lib/sms_my_bus/locations.rb', line 3 def self.get_stops route_id api_method = 'getstops' args = { 'routeID' => route_id } SmsMyBus.make_api_request(api_method, args) end |