lib/runcible/resources/event_notifier.rb in runcible-0.2.1 vs lib/runcible/resources/event_notifier.rb in runcible-0.3
- old
+ new
@@ -26,17 +26,17 @@
module Resources
# @see https://pulp-dev-guide.readthedocs.org/en/latest/events/index.html
class EventNotifier < Runcible::Base
class EventTypes
- REPO_SYNC_COMPLETE = 'repo.sync.finish'
- REPO_SYNC_START = 'repo.sync.start'
+ REPO_SYNC_COMPLETE = 'repo.sync.finish'
+ REPO_SYNC_START = 'repo.sync.start'
REPO_PUBLISH_COMPLETE = 'repo.publish.finish'
- REPO_PUBLISH_START = 'repo.publish.start'
+ REPO_PUBLISH_START = 'repo.publish.start'
end
class NotifierTypes
- REST_API = 'rest-api'
+ REST_API = 'http'
end
# Generates the API path for Event Notifiers
#
# @param [String] id the ID of the event notifier