lib/twilio-ruby/rest/accounts/v1/credential.rb in twilio-ruby-5.4.2 vs lib/twilio-ruby/rest/accounts/v1/credential.rb in twilio-ruby-5.4.3
- old
+ new
@@ -31,19 +31,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
##
# Provide a user friendly representation
def to_s
@@ -68,13 +63,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