module Seahorse::Client::HandlerBuilder
def handle(*args, &block)
def handle(*args, &block) options = args.last.is_a?(Hash) ? args.pop : {} handler_class = block ? handler_for(*args, &block) : args.first handlers.add(handler_class, options) end
def handle(*args, &block) options = args.last.is_a?(Hash) ? args.pop : {} handler_class = block ? handler_for(*args, &block) : args.first handlers.add(handler_class, options) end