Class: Twilio::REST::Messages

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

Instance Method Summary collapse

Methods inherited from ListResource

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

Methods included from Utils

#detwilify, #twilify

Constructor Details

#initialize(path, client) ⇒ Messages

Returns a new instance of Messages.



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

def initialize(path, client)
  super
  # hard-code the json key since 'messages' doesn't exist in the response
  @list_key = 'sms_messages'
end