Class: Vonage::Messages

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

Instance Method Summary collapse

Instance Method Details

#get(id) ⇒ Object



11
12
13
# File 'lib/vonage/messages.rb', line 11

def get(id)
  request('/search/message', params: {id: id})
end

#rejections(params) ⇒ Object



21
22
23
# File 'lib/vonage/messages.rb', line 21

def rejections(params)
  request('/search/rejections', params: params)
end

#search(params) ⇒ Object



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

def search(params)
  request('/search/messages', params: params)
end