Sha256: 09355af1e0e8820346ba46c82c1e2380e5d66abdaa1dc8cbc5a99c1284a81bbe

Contents?: true

Size: 464 Bytes

Versions: 35

Compression:

Stored size: 464 Bytes

Contents

# To create outside of Rails, insert a row with values for the following columns
# into the `delayed_jobs` table:
#
#     handler: {see h7_message_example.yml}
#     run_at: {current_time}
#
# Notes:
#
# - the key `raw_message` for the `handler` column must have line endings "\n"
# - to run delayed_jobs see in development use rake jobs:work
#
FeedJob = Struct.new(:raw_message) do
  def perform
    Renalware::Feeds.message_processor.call(raw_message)
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
renalware-core-2.0.16 app/jobs/feed_job.rb
renalware-core-2.0.15 app/jobs/feed_job.rb
renalware-core-2.0.14 app/jobs/feed_job.rb
renalware-core-2.0.13 app/jobs/feed_job.rb
renalware-core-2.0.12 app/jobs/feed_job.rb
renalware-core-2.0.11 app/jobs/feed_job.rb
renalware-core-2.0.9 app/jobs/feed_job.rb
renalware-core-2.0.8 app/jobs/feed_job.rb
renalware-core-2.0.7 app/jobs/feed_job.rb
renalware-core-2.0.5 app/jobs/feed_job.rb
renalware-core-2.0.4 app/jobs/feed_job.rb
renalware-core-2.0.3 app/jobs/feed_job.rb
renalware-core-2.0.2 app/jobs/feed_job.rb
renalware-core-2.0.1 app/jobs/feed_job.rb
renalware-core-2.0.0 app/jobs/feed_job.rb
renalware-core-2.0.0.pre.rc13 app/jobs/feed_job.rb
renalware-core-2.0.0.pre.rc11 app/jobs/feed_job.rb
renalware-core-2.0.0.pre.rc10 app/jobs/feed_job.rb
renalware-core-2.0.0.pre.rc9 app/jobs/feed_job.rb
renalware-core-2.0.0.pre.rc8 app/jobs/feed_job.rb