Class: Vonage::Alerts

Inherits:
Namespace
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/vonage/alerts.rb

Instance Method Summary collapse

Instance Method Details

#listObject



16
17
18
# File 'lib/vonage/alerts.rb', line 16

def list
  request('/sc/us/alert/opt-in/query/json')
end

#remove(params) ⇒ Object Also known as: resubscribe



32
33
34
# File 'lib/vonage/alerts.rb', line 32

def remove(params)
  request('/sc/us/alert/opt-in/manage/json', params: params, type: Post)
end

#send(params) ⇒ Object



68
69
70
# File 'lib/vonage/alerts.rb', line 68

def send(params)
  request('/sc/us/alert/json', params: params, type: Post)
end