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