Sha256: cd8aaac3eb21315bc23581cb120e890dee9d2940c104d245e38609d59a54f7e0
Contents?: true
Size: 371 Bytes
Versions: 3
Compression:
Stored size: 371 Bytes
Contents
class PostNotifier < ApplicationNotifier use :logger # use :slack, channel: '#general', username: 'username', icon_emoji: ':grinning:' def success(recipient) notify_success("#{self.class}##{__method__} called with #{recipient.class}.") end def failure(recipient) notify_failure("#{self.class}##{__method__} called with #{recipient.class}.") end end
Version data entries
3 entries across 1 versions & 1 rubygems