lib/twilio-ruby/rest/api/v2010/account/new_key.rb in twilio-ruby-5.8.0 vs lib/twilio-ruby/rest/api/v2010/account/new_key.rb in twilio-ruby-5.8.1
- old
+ new
@@ -25,11 +25,12 @@
end
##
# Retrieve a single page of NewKeyInstance records from the API.
# Request is executed immediately.
- # @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 [NewKeyInstance] Newly created NewKeyInstance
def create(friendly_name: :unset)
data = Twilio::Values.of({'FriendlyName' => friendly_name, })
payload = @version.create(
@@ -97,34 +98,34 @@
'secret' => payload['secret'],
}
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
##
- # @return [String] The secret
+ # @return [String] The secret your application uses to sign Access Tokens and to authenticate to the REST API.
def secret
@properties['secret']
end
##
\ No newline at end of file