Class: DispatchRider::Registrars::NotificationService

Inherits:
Base
  • Object
show all
Defined in:
lib/dispatch-rider/registrars/notification_service.rb

Instance Attribute Summary

Attributes inherited from Base

#store

Instance Method Summary collapse

Methods inherited from Base

#fetch, #initialize, #register, #unregister

Constructor Details

This class inherits a constructor from DispatchRider::Registrars::Base

Instance Method Details

#value(name, options = {}) ⇒ Object



5
6
7
# File 'lib/dispatch-rider/registrars/notification_service.rb', line 5

def value(name, options = {})
  "DispatchRider::NotificationServices::#{name.to_s.camelize}".constantize.new(options)
end