Class: UrlNotification

Inherits:
Notification show all
Defined in:
app/models/url_notification.rb

Instance Method Summary collapse

Methods inherited from Notification

from_api, #initial_state, #name, #notify!

Instance Method Details

#do_notify!(opts) ⇒ Object


2
3
4
# File 'app/models/url_notification.rb', line 2

def do_notify!(opts)
  RestClient.post(value, opts[:job].attributes)
end