lib/sysdig.rb in sysdig-0.1.0 vs lib/sysdig.rb in sysdig-0.2.0
- old
+ new
@@ -9,12 +9,11 @@
require "ey/logger/faraday"
class Sysdig
include Cistern::Client
- recognizes :url, :adapter, :logger
- requires :username, :password
+ recognizes :url, :adapter, :logger, :token, :username, :password
end
# clients
require 'sysdig/real'
@@ -25,13 +24,22 @@
require 'sysdig/login'
require 'sysdig/alert'
require 'sysdig/alerts'
require 'sysdig/create_alert'
+require 'sysdig/destroy_alert'
require 'sysdig/get_alert'
require 'sysdig/get_alerts'
require 'sysdig/update_alert'
-require 'sysdig/get_notification'
-require 'sysdig/get_notifications'
-require 'sysdig/notification'
-require 'sysdig/notifications'
+require 'sysdig/get_alert_notification'
+require 'sysdig/get_alert_notifications'
+require 'sysdig/alert_notification'
+require 'sysdig/alert_notifications'
+
+require 'sysdig/get_user_notifications'
+require 'sysdig/update_user_notifications'
+require 'sysdig/user_notification'
+require 'sysdig/user_notifications'
+require 'sysdig/sns_notification'
+require 'sysdig/email_notification'
+require 'sysdig/pager_duty_notification'