Class: Nexmo::Alerts
Instance Method Summary
collapse
Methods inherited from Namespace
#initialize
Instance Method Details
#list ⇒ Object
5
6
7
|
# File 'lib/nexmo/alerts.rb', line 5
def list
request('/sc/us/alert/opt-in/query/json')
end
|
#remove(params) ⇒ Object
Also known as:
resubscribe
9
10
11
|
# File 'lib/nexmo/alerts.rb', line 9
def remove(params)
request('/sc/us/alert/opt-in/manage/json', params: params, type: Post)
end
|
#send(params) ⇒ Object
15
16
17
|
# File 'lib/nexmo/alerts.rb', line 15
def send(params)
request('/sc/us/alert/json', params: params, type: Post)
end
|