Class: HttpStore::Job::HttpLogStoreJob

Inherits:
ActiveJob::Base
  • Object
show all
Defined in:
lib/http_store/job/http_log_store_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(meta) ⇒ Object



6
7
8
9
# File 'lib/http_store/job/http_log_store_job.rb', line 6

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