Closed superchilled closed 2 years ago
Merging #221 (56169eb) into dev (2860880) will increase coverage by
0.24%
. The diff coverage is100.00%
.:exclamation: Current head 56169eb differs from pull request most recent head b992b5a. Consider uploading reports for the commit b992b5a to get more accurate results
@@ Coverage Diff @@
## dev #221 +/- ##
==========================================
+ Coverage 97.43% 97.68% +0.24%
==========================================
Files 63 70 +7
Lines 1249 1384 +135
==========================================
+ Hits 1217 1352 +135
Misses 32 32
Impacted Files | Coverage Δ | |
---|---|---|
lib/vonage.rb | 91.66% <ø> (ø) |
|
lib/vonage/client.rb | 100.00% <100.00%> (ø) |
|
lib/vonage/messaging.rb | 100.00% <100.00%> (ø) |
|
lib/vonage/messaging/channels/messenger.rb | 100.00% <100.00%> (ø) |
|
lib/vonage/messaging/channels/mms.rb | 100.00% <100.00%> (ø) |
|
lib/vonage/messaging/channels/sms.rb | 100.00% <100.00%> (ø) |
|
lib/vonage/messaging/channels/viber.rb | 100.00% <100.00%> (ø) |
|
lib/vonage/messaging/channels/whats_app.rb | 100.00% <100.00%> (ø) |
|
lib/vonage/messaging/message.rb | 100.00% <100.00%> (ø) |
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 2860880...b992b5a. Read the comment docs.
Reason for this PR
The [Messages API]() is now in General Availability (GA), and so we are adding it to all of the supported Vonage server SDKs.
What this PR does
Message
class and then sub-classes for each channel:Messenger
MMS
SMS
Viber
WhatsApp
Messaging
class inheriting fromNamespace
, which defines asend
method for sending messagesmessaging
method to theClient
class for creating/ returningMessaging
objects.