lib/twilio-ruby/rest/api/v2010/account/new_key.rb in twilio-ruby-5.9.0 vs lib/twilio-ruby/rest/api/v2010/account/new_key.rb in twilio-ruby-5.10.0

- old
+ new

@@ -27,12 +27,11 @@ end ## # Retrieve a single page of NewKeyInstance records from the API. # Request is executed immediately. - # @param [String] friendly_name A descriptive string for this resource, chosen by - # your application, up to 64 characters long. + # @param [String] friendly_name The friendly_name # @return [NewKeyInstance] Newly created NewKeyInstance def create(friendly_name: :unset) data = Twilio::Values.of({'FriendlyName' => friendly_name, }) payload = @version.create( @@ -100,34 +99,34 @@ 'secret' => payload['secret'], } end ## - # @return [String] A 34 character string that uniquely identifies this API Key. + # @return [String] The sid def sid @properties['sid'] end ## - # @return [String] A descriptive string for this resource, chosen by your application, up to 64 characters long. + # @return [String] The friendly_name def friendly_name @properties['friendly_name'] end ## - # @return [Time] The date-time this API Key was created, given as a RFC 2822 Timestamp. + # @return [Time] The date_created def date_created @properties['date_created'] end ## - # @return [Time] The date-time this API Key was most recently updated, given as a RFC 2822 Timestamp. + # @return [Time] The date_updated def date_updated @properties['date_updated'] end ## - # @return [String] The secret your application uses to sign Access Tokens and to authenticate to the REST API. + # @return [String] The secret def secret @properties['secret'] end ## \ No newline at end of file