Sha256: d48c8533156f7c7569aa50d5cb15f1cb0dc62e4e45ef321e2cf40070e8553d04

Contents?: true

Size: 301 Bytes

Versions: 2

Compression:

Stored size: 301 Bytes

Contents

module Twilio
  module REST
    class Messages < ListResource
      def initialize(uri, client)
        super
        # hard-code the json key since 'messages' doesn't exist in the response
        @resource_name = 'sms_messages'
      end
    end

    class Message < InstanceResource; end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
twilio-ruby-3.3.1 lib/twilio-ruby/rest/sms/messages.rb
twilio-ruby-3.3.0 lib/twilio-ruby/rest/sms/messages.rb