Module: Skykick::Client::Alerts

Included in:
Skykick::Client
Defined in:
lib/skykick/client/alerts.rb

Overview

All alert related api calls

Instance Method Summary collapse

Instance Method Details

#alerts(id) ⇒ Object

Returns first 500 Alerts for a provided Email Migration Order ID or Backup service ID.



9
10
11
12
13
14
# File 'lib/skykick/client/alerts.rb', line 9

def alerts(id)
  # This endpoint supports the following OData query parameters: $top
  # $top - default of 25 and max of 500 
  # this is not implemented
  get_paged("Alerts/#{id}")
end

#mark_as_complete(id) ⇒ Object

Mark an Alert as complete.



17
18
19
# File 'lib/skykick/client/alerts.rb', line 17

def mark_as_complete(id)
  post("Alerts/#{id}")
end