Sha256: de7c3ffb6acca92f073a9f90c4772bea94a578602cd18807b190e9a4f13cd2e6

Contents?: true

Size: 309 Bytes

Versions: 11

Compression:

Stored size: 309 Bytes

Contents

module Twilio
  module REST
    class Messages < ListResource
      def initialize(path, client)
        path.gsub! '/SMS', ''
        super
      end
    end

    class Message < InstanceResource
      def initialize(path, client, params={})
        super
        resource :media
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
twilio-ruby-3.13.1 lib/twilio-ruby/rest/messages.rb
twilio-ruby-3.13.0 lib/twilio-ruby/rest/messages.rb
twilio-ruby-3.12.3 lib/twilio-ruby/rest/messages.rb
twilio-ruby-3.12.2 lib/twilio-ruby/rest/messages.rb
twilio-ruby-3.12.1 lib/twilio-ruby/rest/messages.rb
twilio-ruby-3.12.0 lib/twilio-ruby/rest/messages.rb
twilio-ruby-3.11.6 lib/twilio-ruby/rest/messages.rb
twilio-ruby-3.11.5 lib/twilio-ruby/rest/messages.rb
twilio-ruby-3.11.4 lib/twilio-ruby/rest/messages.rb
twilio-ruby-3.11.3 lib/twilio-ruby/rest/messages.rb
twilio-ruby-3.11.1 lib/twilio-ruby/rest/messages.rb