module Sidekiq::ThriftArguments::ArgumentEncoder
Public Instance Methods
perform_async(*args)
click to toggle source
Calls superclass method
# File lib/sidekiq/thrift_arguments.rb, line 15 def perform_async(*args) thrift_encoded = args.map do |argument| case argument when Thrift::Struct { '__thrift__' => true, '__thrift_class__' => argument.class.name, '__thrift_blob__' => argument.to_base64 } else argument end end super(*thrift_encoded) end