Class: FlowdockNotifications::MessageNotification

Inherits:
Object
  • Object
show all
Defined in:
lib/flowdock-notifications/message_notification.rb

Instance Method Summary collapse

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)
  @message = 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, options
end