Class: FlowdockNotifications::MessageNotification
- Inherits:
-
Object
- Object
- FlowdockNotifications::MessageNotification
- Defined in:
- lib/flowdock-notifications/message_notification.rb
Instance Method Summary collapse
-
#initialize(client, flow_name, message) ⇒ MessageNotification
constructor
A new instance of MessageNotification.
- #show! ⇒ Object
Constructor Details
#initialize(client, flow_name, message) ⇒ MessageNotification
Returns a new instance of MessageNotification.
5 6 7 8 9 |
# File 'lib/flowdock-notifications/message_notification.rb', line 5 def initialize(client, flow_name, ) @message = @flow_name = flow_name @client = client end |
Instance Method Details
#show! ⇒ Object
11 12 13 |
# File 'lib/flowdock-notifications/message_notification.rb', line 11 def show! Notify.notify title, content, end |