Class: Vonage::Alerts
- Inherits:
-
Namespace
- Object
- Namespace
- Vonage::Alerts
- Extended by:
- T::Sig
- Defined in:
- lib/vonage/alerts.rb
Instance Method Summary collapse
- #list ⇒ Object
- #remove(params) ⇒ Object (also: #resubscribe)
- #send(params) ⇒ Object
Instance Method Details
#list ⇒ Object
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 |