Class: Restcomm::REST::Messages
- Inherits:
-
ListResource
- Object
- ListResource
- Restcomm::REST::Messages
- Defined in:
- lib/restcomm-ruby/rest/messages.rb
Instance Method Summary collapse
-
#initialize(path, client) ⇒ Messages
constructor
A new instance of Messages.
Methods inherited from ListResource
#create, #get, #inspect, #list, #total
Methods included from Utils
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 |