Sha256: f3a869c458692fd6146186f76de7d64181173b6e0671c68734ea57578f211a95
Contents?: true
Size: 307 Bytes
Versions: 2
Compression:
Stored size: 307 Bytes
Contents
class UserNotifier < ApplicationNotifier def success(recipient) notify_success("#{recipient.class}##{__method__}") end def failure(recipient) notify_failure("#{recipient.class}##{__method__}") end def only_user(recipient) notify_success("#{recipient.class}##{__method__}") end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pubsub_notifier-0.1.1 | spec/support/notifiers/user_notifier.rb |
pubsub_notifier-0.1.0 | spec/support/notifiers/user_notifier.rb |