lib/cloudtasker/backend/memory_task.rb in cloudtasker-0.12.rc7 vs lib/cloudtasker/backend/memory_task.rb in cloudtasker-0.12.rc8

- old
+ new

@@ -111,10 +111,10 @@ # # @param [String] id The ID of the task. # @param [Hash] http_request The HTTP request content. # @param [Integer] schedule_time When to run the task (Unix timestamp) # - def initialize(id:, http_request:, schedule_time: nil, queue: nil, job_retries: 0) + def initialize(id:, http_request:, schedule_time: nil, queue: nil, job_retries: 0, **_xargs) @id = id @http_request = http_request @schedule_time = Time.at(schedule_time || 0) @queue = queue @job_retries = job_retries || 0