lib/twilio-ruby/rest/api/v2010/account/sip.rb in twilio-ruby-5.0.0.rc26 vs lib/twilio-ruby/rest/api/v2010/account/sip.rb in twilio-ruby-5.0.0
- old
+ new
@@ -32,12 +32,12 @@
end
##
# Access the domains
# @param [String] sid The domain sid that uniquely identifies the resource
- # @return [DomainList] if a(n) DomainList object was created.
- # @return [DomainContext] if a(n) DomainContext object was created.
+ # @return [DomainList]
+ # @return [DomainContext] if sid was passed.
def domains(sid=:unset)
raise ArgumentError, 'sid cannot be nil' if sid.nil?
if sid != :unset
return DomainContext.new(
@@ -53,12 +53,12 @@
)
end
##
# Access the regions
- # @return [RegionList] if a(n) RegionList object was created.
- # @return [RegionContext] if a(n) RegionContext object was created.
+ # @return [RegionList]
+ # @return [RegionContext]
def regions
@regions ||= RegionList.new(
@version,
account_sid: @solution[:account_sid],
)
@@ -66,12 +66,12 @@
##
# Access the ip_access_control_lists
# @param [String] sid The ip-access-control-list Sid that uniquely identifies this
# resource
- # @return [IpAccessControlListList] if a(n) IpAccessControlListList object was created.
- # @return [IpAccessControlListContext] if a(n) IpAccessControlListContext object was created.
+ # @return [IpAccessControlListList]
+ # @return [IpAccessControlListContext] if sid was passed.
def ip_access_control_lists(sid=:unset)
raise ArgumentError, 'sid cannot be nil' if sid.nil?
if sid != :unset
return IpAccessControlListContext.new(
@@ -88,12 +88,12 @@
end
##
# Access the credential_lists
# @param [String] sid The credential Sid that uniquely identifies this resource
- # @return [CredentialListList] if a(n) CredentialListList object was created.
- # @return [CredentialListContext] if a(n) CredentialListContext object was created.
+ # @return [CredentialListList]
+ # @return [CredentialListContext] if sid was passed.
def credential_lists(sid=:unset)
raise ArgumentError, 'sid cannot be nil' if sid.nil?
if sid != :unset
return CredentialListContext.new(
@@ -120,11 +120,9 @@
##
# Initialize the SipPage
# @param [Version] version Version that contains the resource
# @param [Response] response Response from the API
# @param [Hash] solution Path solution for the resource
- # @param [String] account_sid A 34 character string that uniquely identifies this
- # resource.
# @return [SipPage] SipPage
def initialize(version, response, solution)
super(version, response)
# Path Solution
\ No newline at end of file