Sha256: 180a2b7e2a9c054976acb5a232c9a584a95b9bea116438b13aa25fca0575f992
Contents?: true
Size: 1.07 KB
Versions: 5
Compression:
Stored size: 1.07 KB
Contents
## # This code was generated by # \ / _ _ _| _ _ # | (_)\/(_)(_|\/| |(/_ v1.0.0 # / / # # frozen_string_literal: true module Twilio module REST class Content class V1 < Version ## # Initialize the V1 version of Content def initialize(domain) super @version = 'v1' @contents = nil end ## # @param [String] sid The Twilio-provided string that uniquely identifies the # Content resource to fetch. # @return [Twilio::REST::Content::V1::ContentContext] if sid was passed. # @return [Twilio::REST::Content::V1::ContentList] def contents(sid=:unset) if sid.nil? raise ArgumentError, 'sid cannot be nil' end if sid == :unset @contents ||= ContentList.new self else ContentContext.new(self, sid) end end ## # Provide a user friendly representation def to_s '<Twilio::REST::Content::V1>' end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems