init push - laying out the project
This commit is contained in:
9
portal/app/jobs/pull_runner_odds_job.rb
Normal file
9
portal/app/jobs/pull_runner_odds_job.rb
Normal file
@ -0,0 +1,9 @@
|
||||
class PullRunnerOddsJob < ApplicationJob
|
||||
queue_as :medium
|
||||
|
||||
def perform(args = {})
|
||||
hunter = params[:oh]
|
||||
runner = params[:runner]
|
||||
hunter.runner_odds(runner)
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user