lib/twilio-ruby/rest/api/v2010/account/sip.rb in twilio-ruby-5.4.4 vs lib/twilio-ruby/rest/api/v2010/account/sip.rb in twilio-ruby-5.4.5
- old
+ new
@@ -36,22 +36,22 @@
# @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(@version, @solution[:account_sid], sid,)
+ return DomainContext.new(@version, @solution[:account_sid], sid)
end
- @domains ||= DomainList.new(@version, account_sid: @solution[:account_sid],)
+ @domains ||= DomainList.new(@version, account_sid: @solution[:account_sid])
end
##
# Access the regions
# @return [RegionList]
# @return [RegionContext]
def regions
- @regions ||= RegionList.new(@version, account_sid: @solution[:account_sid],)
+ @regions ||= RegionList.new(@version, account_sid: @solution[:account_sid])
end
##
# Access the ip_access_control_lists
# @param [String] sid The ip-access-control-list Sid that uniquely identifies this
@@ -60,11 +60,11 @@
# @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(@version, @solution[:account_sid], sid,)
+ return IpAccessControlListContext.new(@version, @solution[:account_sid], sid)
end
@ip_access_control_lists ||= IpAccessControlListList.new(
@version,
account_sid: @solution[:account_sid],
@@ -78,14 +78,14 @@
# @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(@version, @solution[:account_sid], sid,)
+ return CredentialListContext.new(@version, @solution[:account_sid], sid)
end
- @credential_lists ||= CredentialListList.new(@version, account_sid: @solution[:account_sid],)
+ @credential_lists ||= CredentialListList.new(@version, account_sid: @solution[:account_sid])
end
##
# Provide a user friendly representation
def to_s
@@ -110,10 +110,10 @@
##
# Build an instance of SipInstance
# @param [Hash] payload Payload response from the API
# @return [SipInstance] SipInstance
def get_instance(payload)
- SipInstance.new(@version, payload, account_sid: @solution[:account_sid],)
+ SipInstance.new(@version, payload, account_sid: @solution[:account_sid])
end
##
# Provide a user friendly representation
def to_s
\ No newline at end of file