class Flock::Notifier
Constants
- SEND_MESSAGE_HOOK_BASE_URL
- VERSION
Public Class Methods
new(webhook_uid)
click to toggle source
# File lib/flock/notifier.rb, line 8 def initialize webhook_uid endpoint = SEND_MESSAGE_HOOK_BASE_URL + webhook_uid @connection = Connection.new endpoint end
Public Instance Methods
ping(message)
click to toggle source
# File lib/flock/notifier.rb, line 13 def ping(message) @connection.post(message) end