class BackgroundJobs::Sidekiq::JobAttributesAdapter
Public Class Methods
new(attributes)
click to toggle source
# File lib/background_jobs/strategies/sidekiq/job_attributes_adapter.rb, line 4 def initialize(attributes) @attributes = Attributes.new(attributes) end
Public Instance Methods
decode()
click to toggle source
# File lib/background_jobs/strategies/sidekiq/job_attributes_adapter.rb, line 12 def decode @attributes.decode end
encode()
click to toggle source
# File lib/background_jobs/strategies/sidekiq/job_attributes_adapter.rb, line 8 def encode @attributes.encode end