Sha256: 8c8631b64221eb2002b1d633d26d98a36020f665e75d234d244abe6a0b17665a

Contents?: true

Size: 269 Bytes

Versions: 6

Compression:

Stored size: 269 Bytes

Contents

module HttpStore
  module Job
    class HttpLogStoreJob < ::ActiveJob::Base
      queue_as :default

      def perform(meta)
        @storeable_record = HttpStore.config.store_class.to_s.constantize.new(meta)
        @storeable_record.save!
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
http_store-0.6.19 lib/http_store/job/http_log_store_job.rb
http_store-0.6.18 lib/http_store/job/http_log_store_job.rb
http_store-0.6.17 lib/http_store/job/http_log_store_job.rb
http_store-0.6.16 lib/http_store/job/http_log_store_job.rb
http_store-0.6.15 lib/http_store/job/http_log_store_job.rb
http_store-0.6.14 lib/http_store/job/http_log_store_job.rb