module Dynflow::Dispatcher::Event

Public Class Methods

product_from_hash(hash) click to toggle source
Calls superclass method
# File lib/dynflow/dispatcher.rb, line 59
def self.product_from_hash(hash)
  super(hash.merge 'event' => Marshal.load(Base64.strict_decode64(hash.fetch('event'))))
end

Public Instance Methods

to_hash() click to toggle source
Calls superclass method
# File lib/dynflow/dispatcher.rb, line 55
def to_hash
  super.update event: Base64.strict_encode64(Marshal.dump(event))
end