Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c22c61f

Browse files
Generate SDK
1 parent 1d7b061 commit c22c61f

28 files changed

+2643
-0
lines changed

‎.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
language: csharp
2+
solution: MessageMediaWebhooks.sln
3+
install:
4+
- nuget restore MessageMediaWebhooks.sln
5+
- nuget install NUnit.Runners -Version 3.2.1 -OutputDirectory testrunner
6+
script:
7+
- xbuild /p:Configuration=Release MessageMediaWebhooks.sln
8+
- mono ./testrunner/NUnit.ConsoleRunner.3.2.1/tools/nunit3-console.exe ./MessageMediaWebhooks.Tests/bin/Release/MessageMediaWebhooks.Tests.dll

‎Jenkinsfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
node {
2+
stage 'Checkout'
3+
checkout scm
4+
5+
stage 'Prepare'
6+
bat 'nuget restore "MessageMediaWebhooks.sln"'
7+
bat 'nuget install NUnit.Runners -Version 3.2.1 -OutputDirectory testrunner'
8+
9+
stage 'Build'
10+
bat "MSBuild.exe /p:Configuration=Release \"MessageMediaWebhooks.sln\""
11+
stage 'Test'
12+
bat "testrunner\\NUnit.ConsoleRunner.3.2.1\\tools\\nunit3-console.exe MessageMediaWebhooks.Tests\\bin\\Release\MessageMediaWebhooks.Tests.dll"
13+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
using MessageMedia.Webhooks.Models;
2+
namespace MessageMedia.Webhooks
3+
{
4+
public partial class Configuration
5+
{
6+
7+
//The base Uri for API calls
8+
public static string BaseUri = "https://api.messagemedia.com";
9+
10+
//The username to use with basic authentication
11+
//TODO: Replace the BasicAuthUserName with an appropriate value
12+
public static string BasicAuthUserName = "TODO: Replace";
13+
14+
//The password to use with basic authentication
15+
//TODO: Replace the BasicAuthPassword with an appropriate value
16+
public static string BasicAuthPassword = "TODO: Replace";
17+
18+
}
19+
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /