Class: NationalRailWrapper::Feeds::KnowledgeBase::Requests::Stations
- Inherits:
-
Base
- Object
- Base::Requests::Base
- Base
- NationalRailWrapper::Feeds::KnowledgeBase::Requests::Stations
- Defined in:
- lib/national_rail_wrapper/feeds/knowledge_base/requests/stations.rb
Instance Method Summary collapse
Methods inherited from Base
Methods inherited from Base::Requests::Base
#base_url, #call, #request_params
Instance Method Details
#run(auth_token) ⇒ Object
5 6 7 |
# File 'lib/national_rail_wrapper/feeds/knowledge_base/requests/stations.rb', line 5 def run(auth_token) call(path: '/4.0/stations', auth_token: auth_token) end |