module Sidekiq::ArgumentDecoder
Public Instance Methods
perform(*args)
click to toggle source
Calls superclass method
# File lib/sidekiq/thrift_arguments.rb, line 35 def perform(*args) decoded = args.map do |argument| if argument.is_a?(Hash) && argument.key?('__thrift__') klass, blob = argument.fetch('__thrift_class__'), argument.fetch('__thrift_blob__') klass.constantize.from_base64 blob else argument end end super(*decoded) end