Class: Sysdig::GetUserNotifications
- Inherits:
-
Request
- Object
- Request
- Sysdig::GetUserNotifications
- Defined in:
- lib/sysdig/get_user_notifications.rb
Instance Method Summary collapse
Instance Method Details
#mock ⇒ Object
9 10 11 12 13 |
# File 'lib/sysdig/get_user_notifications.rb', line 9 def mock service.response( :body => { "userNotification" => service.data[:user_notifications] } ) end |
#real ⇒ Object
2 3 4 5 6 7 |
# File 'lib/sysdig/get_user_notifications.rb', line 2 def real service.request( :method => :get, :path => "/api/settings/notifications", ) end |