Vonage / vonage-ruby-sdk

Vonage REST API client for Ruby. API support for SMS, Voice, Text-to-Speech, Numbers, Verify (2FA) and more.
https://developer.vonage.com
Apache License 2.0
217 stars 108 forks source link

Add Patch HTTP method as option for http_request in JSON.update type signature #228

Closed superchilled closed 2 years ago

superchilled commented 2 years ago

Reason for this PR

Adds support for PATCH requests to be passed to the JSON::update method

What this PR does

codecov-commenter commented 2 years ago

Codecov Report

Merging #228 (872ccec) into main (3cadb9f) will increase coverage by 0.19%. The diff coverage is 100.00%.

:exclamation: Current head 872ccec differs from pull request most recent head e589928. Consider uploading reports for the commit e589928 to get more accurate results

@@            Coverage Diff             @@
##             main     #228      +/-   ##
==========================================
+ Coverage   97.69%   97.88%   +0.19%     
==========================================
  Files          70       70              
  Lines        1388     1373      -15     
==========================================
- Hits         1356     1344      -12     
+ Misses         32       29       -3     
Impacted Files Coverage Δ
lib/vonage/json.rb 100.00% <100.00%> (ø)
lib/vonage/voice/ncco.rb 90.90% <0.00%> (-0.76%) :arrow_down:
lib/vonage/voice/actions/notify.rb 96.15% <0.00%> (-0.15%) :arrow_down:
lib/vonage/voice/actions/record.rb 97.14% <0.00%> (-0.08%) :arrow_down:
lib/vonage/voice/actions/stream.rb 97.14% <0.00%> (-0.08%) :arrow_down:
lib/vonage/voice/actions/talk.rb 97.36% <0.00%> (-0.07%) :arrow_down:
lib/vonage/voice/actions/conversation.rb 96.49% <0.00%> (-0.07%) :arrow_down:
lib/vonage/voice/actions/input.rb 96.66% <0.00%> (-0.06%) :arrow_down:
lib/vonage/messaging/message.rb 100.00% <0.00%> (ø)
lib/vonage/voice/actions/connect.rb 83.15% <0.00%> (+1.96%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 3cadb9f...e589928. Read the comment docs.