global_hooks has a horrible API
Opened this issue · 0 comments
ChrisVilches commented
class GlobalHooks
def initialize
def append_hook(pre_post, event_name:, fn:, card_owner_id: nil)
def remove_by_card_id(pre_post, event_name:, card_owner_id:)
def merge_all(pre_post, event_name:, arguments:)
private
def is_already_added(fn)
def ensure_hook(pre_post, event_name)
end