Class: NationalRailWrapper::Feeds::HistoricalServicePerformance::Requests::ServiceMetrics
- Inherits:
-
Base
- Object
- Base::Requests::Base
- Base
- NationalRailWrapper::Feeds::HistoricalServicePerformance::Requests::ServiceMetrics
- Defined in:
- lib/national_rail_wrapper/feeds/historical_service_performance/requests/service_metrics.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:, body:) ⇒ Object
4 5 6 |
# File 'lib/national_rail_wrapper/feeds/historical_service_performance/requests/service_metrics.rb', line 4 def run(auth_token: , body:) call(path: '/serviceMetrics', method: :post, body: body, auth_token: auth_token) end |