lib/twilio-ruby/rest/api/v2010/account/new_key.rb in twilio-ruby-5.4.4 vs lib/twilio-ruby/rest/api/v2010/account/new_key.rb in twilio-ruby-5.4.5
- old
+ new
@@ -28,19 +28,19 @@
# Retrieve a single page of NewKeyInstance records from the API.
# Request is executed immediately.
# @param [String] friendly_name The friendly_name
# @return [NewKeyInstance] Newly created NewKeyInstance
def create(friendly_name: :unset)
- data = Twilio::Values.of({'FriendlyName' => friendly_name,})
+ data = Twilio::Values.of({'FriendlyName' => friendly_name})
payload = @version.create(
'POST',
@uri,
data: data
)
- NewKeyInstance.new(@version, payload, account_sid: @solution[:account_sid],)
+ NewKeyInstance.new(@version, payload, account_sid: @solution[:account_sid])
end
##
# Provide a user friendly representation
def to_s
@@ -65,10 +65,10 @@
##
# Build an instance of NewKeyInstance
# @param [Hash] payload Payload response from the API
# @return [NewKeyInstance] NewKeyInstance
def get_instance(payload)
- NewKeyInstance.new(@version, payload, account_sid: @solution[:account_sid],)
+ NewKeyInstance.new(@version, payload, account_sid: @solution[:account_sid])
end
##
# Provide a user friendly representation
def to_s
\ No newline at end of file