Sha256: a34d19e116df4cc032486d4b18ac98af1f59c3ba2102e577782d1489961141b3

Contents?: true

Size: 403 Bytes

Versions: 5

Compression:

Stored size: 403 Bytes

Contents

# frozen_string_literal: true

module Masks
  # Job for deleting recovies requests that passed their expiration time.
  #
  # This job delegates its work to the configured
  # +Masks::Adapter+, specifically calling +#expire_recoveries+.
  #
  # @see Masks::Adapter Masks::Adapter
  class ExpireRecoveriesJob < ApplicationJob
    def perform
      Masks.configuration.expire_recoveries
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
masks-0.4.0 app/jobs/masks/expire_recoveries_job.rb
masks-0.3.2 app/jobs/masks/expire_recoveries_job.rb
masks-0.3.1 app/jobs/masks/expire_recoveries_job.rb
masks-0.3.0 app/jobs/masks/expire_recoveries_job.rb
masks-0.2.0 app/jobs/masks/expire_recoveries_job.rb