Sha256: 7f642f8a4f62c9fe743206141c41b5336d0831d7732c2684b00a8e90156a1fa7

Contents?: true

Size: 312 Bytes

Versions: 64

Compression:

Stored size: 312 Bytes

Contents

# This registrar handles the registration of various notification services.
module DispatchRider
  module Registrars
    class NotificationService < Base
      def value(name, options = {})
        "DispatchRider::NotificationServices::#{name.to_s.camelize}".constantize.new(options)
      end
    end
  end
end

Version data entries

64 entries across 64 versions & 1 rubygems

Version Path
dispatch-rider-2.1.0 lib/dispatch-rider/registrars/notification_service.rb
dispatch-rider-2.0.0 lib/dispatch-rider/registrars/notification_service.rb
dispatch-rider-1.9.0 lib/dispatch-rider/registrars/notification_service.rb
dispatch-rider-1.8.6 lib/dispatch-rider/registrars/notification_service.rb
dispatch-rider-1.8.5 lib/dispatch-rider/registrars/notification_service.rb
dispatch-rider-1.8.4 lib/dispatch-rider/registrars/notification_service.rb
dispatch-rider-1.8.3 lib/dispatch-rider/registrars/notification_service.rb
dispatch-rider-1.8.2 lib/dispatch-rider/registrars/notification_service.rb
dispatch-rider-1.8.1 lib/dispatch-rider/registrars/notification_service.rb
dispatch-rider-1.8.0 lib/dispatch-rider/registrars/notification_service.rb
dispatch-rider-1.7.2 lib/dispatch-rider/registrars/notification_service.rb
dispatch-rider-1.7.1 lib/dispatch-rider/registrars/notification_service.rb
dispatch-rider-1.7.0 lib/dispatch-rider/registrars/notification_service.rb
dispatch-rider-1.6.2 lib/dispatch-rider/registrars/notification_service.rb
dispatch-rider-1.6.1 lib/dispatch-rider/registrars/notification_service.rb
dispatch-rider-1.6.0 lib/dispatch-rider/registrars/notification_service.rb
dispatch-rider-1.5.3 lib/dispatch-rider/registrars/notification_service.rb
dispatch-rider-1.5.2 lib/dispatch-rider/registrars/notification_service.rb
dispatch-rider-1.5.1 lib/dispatch-rider/registrars/notification_service.rb
dispatch-rider-1.5.0 lib/dispatch-rider/registrars/notification_service.rb