Class: BackgroundJobs::Sidekiq::ArrayAttribute

Inherits:
Array
  • Object
show all
Defined in:
lib/background_jobs/strategies/sidekiq/job_attributes_adapter.rb

Instance Method Summary collapse

Instance Method Details

#decodeObject



99
100
101
# File 'lib/background_jobs/strategies/sidekiq/job_attributes_adapter.rb', line 99

def decode
  map {|i| AttributeFactory.build(i).decode }
end

#encodeObject



103
104
105
# File 'lib/background_jobs/strategies/sidekiq/job_attributes_adapter.rb', line 103

def encode
  map {|i| AttributeFactory.build(i).encode }
end