You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: notification_lib.rb
    path of file: ./repos/notifications-rails/notification-pusher/lib/notification_pusher
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

require 'notification-handler'
require 'active_support'

module Notificat
    
      def deliver(delivery_methods, delivery_options = {})
        return false unless delivery_methods
        return deliver!(delivery_methods, delivery_options) unless delivery_methods.is_a?(Array)

        delivery_methods.each do |delivery_method|
          deliver(delivery_method,
                  delivery_options[delivery_method.to_sym] || {})
        end
      end