Sha256: ca8d76fced483c72e2177061de374503efe90c66e49a73fe985c30d9d64c1ac7

Contents?: true

Size: 255 Bytes

Versions: 1

Compression:

Stored size: 255 Bytes

Contents

module BloomRemit
  module Txns
    module Callbacks
      class AfterCreate < Disposable::Callback::Group

        on_change :enqueue!

        def enqueue!(form, **)
          PayoutJob.perform_async(form.model)
        end

      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bloom_remit-0.0.1 app/concepts/bloom_remit/txns/callbacks/after_create.rb