lib/twilio-ruby/rest/api/v2010/account/token.rb in twilio-ruby-5.4.4 vs lib/twilio-ruby/rest/api/v2010/account/token.rb in twilio-ruby-5.4.5

- old
+ new

@@ -29,19 +29,19 @@ # Request is executed immediately. # @param [String] ttl The duration in seconds for which the generated credentials # are valid # @return [TokenInstance] Newly created TokenInstance def create(ttl: :unset) - data = Twilio::Values.of({'Ttl' => ttl,}) + data = Twilio::Values.of({'Ttl' => ttl}) payload = @version.create( 'POST', @uri, data: data ) - TokenInstance.new(@version, payload, account_sid: @solution[:account_sid],) + TokenInstance.new(@version, payload, account_sid: @solution[:account_sid]) end ## # Provide a user friendly representation def to_s @@ -66,10 +66,10 @@ ## # Build an instance of TokenInstance # @param [Hash] payload Payload response from the API # @return [TokenInstance] TokenInstance def get_instance(payload) - TokenInstance.new(@version, payload, account_sid: @solution[:account_sid],) + TokenInstance.new(@version, payload, account_sid: @solution[:account_sid]) end ## # Provide a user friendly representation def to_s \ No newline at end of file