Skip to content

Commit

Permalink
parse
Browse files Browse the repository at this point in the history
  • Loading branch information
ajay-plivo committed May 30, 2024
1 parent a182f90 commit c8e7f73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plivo/base/resource.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def perform_update(params, use_multipart_conn = false)
response_json = @_client.send_request(@_resource_uri, 'POST', params, nil, use_multipart_conn, is_voice_request: @_is_voice_request)

parse_and_set(params)
parse_and_set_response(response_json)
parse_and_set_response(response_json).instance_variables.map { |var| [var, parser.instance_variable_get(var)] }.to_h
self
end

Expand Down

0 comments on commit c8e7f73

Please sign in to comment.