Method: Buby#registerSessionHandlingAction

Defined in:
lib/buby.rb

#registerSessionHandlingAction(action) ⇒ Object Also known as: register_session_handling_action

TODO:

Test - block version may work here

This method is used to register a custom session handling action. Each registered action will be available within the session handling rule UI for the user to select as a rule action. Users can choose to invoke an action directly in its own right, or following execution of a macro.

Parameters:

  • action (ISessionHandlingAction)

    An object used to perform a given session action.



1454
1455
1456
1457
1458
1459
1460
# File 'lib/buby.rb', line 1454

def registerSessionHandlingAction(action)
  if block_given?
    _check_and_callback(:registerSessionHandlingAction, &block)
  else
    _check_and_callback(:registerSessionHandlingAction, action)
  end
end