Class: Twilio::REST::Content

Inherits:
ContentBase show all
Defined in:
lib/twilio-ruby/rest/content.rb,
lib/twilio-ruby/rest/content/v1.rb,
lib/twilio-ruby/rest/content/v1/content.rb,
lib/twilio-ruby/rest/content/v1/legacy_content.rb,
lib/twilio-ruby/rest/content/v1/content_and_approvals.rb,
lib/twilio-ruby/rest/content/v1/content/approval_fetch.rb

Defined Under Namespace

Classes: V1

Instance Attribute Summary

Attributes inherited from Domain

#client

Instance Method Summary collapse

Methods inherited from ContentBase

#initialize, #to_s, #v1

Methods inherited from Domain

#absolute_url, #initialize, #request

Constructor Details

This class inherits a constructor from Twilio::REST::ContentBase

Instance Method Details

#contents(sid = :unset) ⇒ Twilio::REST::Content::V1::ContentInstance, Twilio::REST::Content::V1::ContentList

Parameters:

  • sid (String) (defaults to: :unset)

    The unique string that that we created to identify the Content resource.

Returns:



9
10
11
12
# File 'lib/twilio-ruby/rest/content.rb', line 9

def contents(sid=:unset)
  warn "contents is deprecated. Use v1.contents instead."
  self.v1.contents(sid)
end