lib/grumlin/action.rb in grumlin-0.22.4 vs lib/grumlin/action.rb in grumlin-0.22.5

- old
+ new

@@ -3,10 +3,10 @@ module Grumlin class Action < Steppable attr_reader :name, :args, :params, :next_step, :configuration_steps, :previous_step, :shortcut # client is only used when a traversal is a part of transaction - def initialize(name, args: [], params: {}, previous_step: nil, pool: Grumlin.default_pool, session_id: nil) + def initialize(name, args: [], params: {}, previous_step: nil, pool: nil, session_id: nil) super(pool: pool, session_id: session_id) @name = name.to_sym @args = args # TODO: add recursive validation: only json types or Action @params = params # TODO: add recursive validation: only json types