lib/twilio-ruby/rest/accounts/v1/credential.rb in twilio-ruby-5.6.0 vs lib/twilio-ruby/rest/accounts/v1/credential.rb in twilio-ruby-5.6.1
- old
+ new
@@ -32,14 +32,14 @@
# @return [PublicKeyContext] if sid was passed.
def public_key(sid=:unset)
raise ArgumentError, 'sid cannot be nil' if sid.nil?
if sid != :unset
- return PublicKeyContext.new(@version, sid)
+ return PublicKeyContext.new(@version, sid, )
end
- @public_key ||= PublicKeyList.new(@version)
+ @public_key ||= PublicKeyList.new(@version, )
end
##
# Access the aws
# @param [String] sid The sid
@@ -47,14 +47,14 @@
# @return [AwsContext] if sid was passed.
def aws(sid=:unset)
raise ArgumentError, 'sid cannot be nil' if sid.nil?
if sid != :unset
- return AwsContext.new(@version, sid)
+ return AwsContext.new(@version, sid, )
end
- @aws ||= AwsList.new(@version)
+ @aws ||= AwsList.new(@version, )
end
##
# Provide a user friendly representation
def to_s
@@ -79,10 +79,10 @@
##
# Build an instance of CredentialInstance
# @param [Hash] payload Payload response from the API
# @return [CredentialInstance] CredentialInstance
def get_instance(payload)
- CredentialInstance.new(@version, payload)
+ CredentialInstance.new(@version, payload, )
end
##
# Provide a user friendly representation
def to_s
\ No newline at end of file