-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #103 from Nexmo/RedactImplementation
Redact implementation
- Loading branch information
Showing
6 changed files
with
443 additions
and
228 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using Nexmo.Api.Request; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using static Nexmo.Api.Redact; | ||
|
||
namespace Nexmo.Api.ClientMethods | ||
{ | ||
public class Redact | ||
{ | ||
public Credentials Credentials { get; set; } | ||
|
||
public Redact(Credentials creds) | ||
{ | ||
Credentials = creds; | ||
} | ||
|
||
public void RedactTransaction (RedactRequest redactRequest, Credentials creds = null) | ||
{ | ||
Nexmo.Api.Redact.RedactTransaction(redactRequest, creds ?? Credentials); | ||
} | ||
} | ||
} |
Oops, something went wrong.