Class: Nexmo::Messages

Inherits:
Namespace
  • Object
show all
Defined in:
lib/nexmo/messages.rb

Instance Method Summary collapse

Instance Method Details

#get(id) ⇒ Object


7
8
9
# File 'lib/nexmo/messages.rb', line 7

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

#rejections(params) ⇒ Object


15
16
17
# File 'lib/nexmo/messages.rb', line 15

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

#search(params) ⇒ Object


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

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