lib/notification_pusher/notification_library.rb in notification-pusher-1.2.4 vs lib/notification_pusher/notification_library.rb in notification-pusher-1.2.5
- old
+ new
@@ -21,11 +21,9 @@
self.pusher = name
self.pusher_options = options
self.initialize_pusher
end
- protected
-
def initialize_pusher
unless self.pusher.nil?
if self.pusher.kind_of?(Array)
self.pusher.each do |class_name|
pusher = NotificationPusher::Pusher.find_by_name(class_name).first