Sha256: bf5701ecaacbe2872e8b45a6a67fbe3edcdd4bfab8eb526a0deb05e077074b69

Contents?: true

Size: 297 Bytes

Versions: 20

Compression:

Stored size: 297 Bytes

Contents

module Pay
  class CustomerSyncJob < ApplicationJob
    queue_as :default

    def perform(pay_customer_id)
      Pay::Customer.find(pay_customer_id).update_customer!
    rescue ActiveRecord::RecordNotFound
      Rails.logger.info "Couldn't find a #{class_name} with ID = #{id}"
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
pay-3.0.20 app/jobs/pay/customer_sync_job.rb
pay-3.0.19 app/jobs/pay/customer_sync_job.rb
pay-3.0.18 app/jobs/pay/customer_sync_job.rb
pay-3.0.17 app/jobs/pay/customer_sync_job.rb
pay-3.0.16 app/jobs/pay/customer_sync_job.rb
pay-3.0.15 app/jobs/pay/customer_sync_job.rb
pay-3.0.14 app/jobs/pay/customer_sync_job.rb
pay-3.0.13 app/jobs/pay/customer_sync_job.rb
pay-3.0.12 app/jobs/pay/customer_sync_job.rb
pay-3.0.11 app/jobs/pay/customer_sync_job.rb
pay-3.0.10 app/jobs/pay/customer_sync_job.rb
pay-3.0.9 app/jobs/pay/customer_sync_job.rb
pay-3.0.8 app/jobs/pay/customer_sync_job.rb
pay-3.0.7 app/jobs/pay/customer_sync_job.rb
pay-3.0.6 app/jobs/pay/customer_sync_job.rb
pay-3.0.5 app/jobs/pay/customer_sync_job.rb
pay-3.0.4 app/jobs/pay/customer_sync_job.rb
pay-3.0.2 app/jobs/pay/customer_sync_job.rb
pay-3.0.1 app/jobs/pay/customer_sync_job.rb
pay-3.0.0 app/jobs/pay/customer_sync_job.rb