class NationalRailWrapper::Feeds::HistoricalServicePerformance::Requests::ServiceMetrics

Public Instance Methods

run(auth_token: , body:) click to toggle source
# 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