lib/twilio-ruby/rest/api/v2010/account/key.rb in twilio-ruby-5.8.0 vs lib/twilio-ruby/rest/api/v2010/account/key.rb in twilio-ruby-5.8.1
- old
+ new
@@ -172,11 +172,12 @@
KeyInstance.new(@version, payload, account_sid: @solution[:account_sid], sid: @solution[:sid], )
end
##
# Update the KeyInstance
- # @param [String] friendly_name The friendly_name
+ # @param [String] friendly_name A descriptive string for this resource, chosen by
+ # your application, up to 64 characters long.
# @return [KeyInstance] Updated KeyInstance
def update(friendly_name: :unset)
data = Twilio::Values.of({'FriendlyName' => friendly_name, })
payload = @version.update(
@@ -238,29 +239,29 @@
end
@instance_context
end
##
- # @return [String] The sid
+ # @return [String] A 34 character string that uniquely identifies this API Key.
def sid
@properties['sid']
end
##
- # @return [String] The friendly_name
+ # @return [String] A descriptive string for this resource, chosen by your application, up to 64 characters long.
def friendly_name
@properties['friendly_name']
end
##
- # @return [Time] The date_created
+ # @return [Time] The date-time this API Key was created, given as a RFC 2822 Timestamp.
def date_created
@properties['date_created']
end
##
- # @return [Time] The date_updated
+ # @return [Time] The date-time this API Key was most recently updated, given as a RFC 2822 Timestamp.
def date_updated
@properties['date_updated']
end
##
@@ -270,10 +271,11 @@
context.fetch
end
##
# Update the KeyInstance
- # @param [String] friendly_name The friendly_name
+ # @param [String] friendly_name A descriptive string for this resource, chosen by
+ # your application, up to 64 characters long.
# @return [KeyInstance] Updated KeyInstance
def update(friendly_name: :unset)
context.update(friendly_name: friendly_name, )
end
\ No newline at end of file