Class: Restcomm::REST::Messages

Inherits:
ListResource show all
Defined in:
lib/restcomm-ruby/rest/messages.rb

Instance Method Summary collapse

Methods inherited from ListResource

#create, #get, #inspect, #list, #total

Methods included from Utils

#derestify, #restify

Constructor Details

#initialize(path, client) ⇒ Messages

Returns a new instance of Messages.



4
5
6
7
8
# File 'lib/restcomm-ruby/rest/messages.rb', line 4

def initialize(path, client)
 # path.gsub! '/SMS', ''
 path.gsub! '/Messages', '/SMS/Messages'
  super
end