Skip to content

Commit

Permalink
feat: add fax capability to deserialized phone number capabilities (#528
Browse files Browse the repository at this point in the history
)
  • Loading branch information
childish-sambino authored Jun 30, 2020
1 parent 43652c9 commit e31daa0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Twilio/JWT/Client/EventStreamScope.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
namespace Twilio.Jwt.Client
{
/// <summary>
/// Event stream scope for client capabilites
/// Event stream scope for client capabilities
/// </summary>
public class EventStreamScope : IScope
{
Expand Down
2 changes: 1 addition & 1 deletion src/Twilio/JWT/Client/IncomingClientScope.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Twilio.Jwt.Client
{
/// <summary>
/// Incoming client scope for client capabilites
/// Incoming client scope for client capabilities
/// </summary>
public class IncomingClientScope : IScope
{
Expand Down
12 changes: 10 additions & 2 deletions src/Twilio/Types/PhoneNumberCapabilities.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Twilio.Types
{
/// <summary>
/// Capabilites of a phone number
/// Capabilities of a phone number
/// </summary>
public class PhoneNumberCapabilities
{
Expand All @@ -25,17 +25,25 @@ public class PhoneNumberCapabilities
[JsonProperty("voice")]
public bool Voice { get; }

/// <summary>
/// Fax capable
/// </summary>
[JsonProperty("fax")]
public bool Fax { get; }

/// <summary>
/// Create a new PhoneNumberCapability
/// </summary>
/// <param name="mms">MMS capable</param>
/// <param name="sms">SMS capable</param>
/// <param name="voice">Voice capable</param>
public PhoneNumberCapabilities (bool mms, bool sms, bool voice)
/// <param name="fax">Fax capable</param>
public PhoneNumberCapabilities (bool mms, bool sms, bool voice, bool fax)
{
Mms = mms;
Sms = sms;
Voice = voice;
Fax = fax;
}
}
}
Expand Down

0 comments on commit e31daa0

Please sign in to comment.