class Mio::Model::Workflow::Transition

Public Instance Methods

create_hash() click to toggle source
# File lib/mio/model/workflow/transition.rb, line 13
def create_hash
  h = {name: "from #{@args.from} to #{@args.to}",
   from: @args.from,
   to: @args.to}
  unless @args.name == ''
     h[:name] = @args.name
  end

  h
end