Skip to content
This repository has been archived by the owner on Jul 11, 2021. It is now read-only.

Commit

Permalink
update azure pipeline (#109)
Browse files Browse the repository at this point in the history
* version 3.1.0

Signed-off-by: elvis ayiemba <[email protected]>

* Documentation urls modified

Signed-off-by: elvis ayiemba <[email protected]>

* Update reversal.md

* Update accountbalance.md

* Update b2b.md

* Update b2c.md

* Update callbacks.md

* Update callbacks.md

* Update callbacks.md

* Update and rename commonpitfalls.md to tips.md

* Update tips.md

* Update tips.md

* Update toc.yml

* Update index.md

* Update README.md

* Update README.md

* Update README.md

* Updated Documentation, resolved broken links

Signed-off-by: elvis ayiemba <[email protected]>

* updated documentation

Signed-off-by: elvis ayiemba <[email protected]>

* edited csproj

Signed-off-by: elvis ayiemba <[email protected]>

* Documentation

* Documentation

* Refactoring MpesaClient

* Adding test project

* version 3.1.3

* adding test project

* Update MpesaClient

* minor cleanup

* updates

* Improved Error Handling and Improved Asyn -> Sync conversion

* Adding Cancellation Tokens

* Update IMpesaClient.cs

* Update MpesaLib.csproj

* Update MpesaLib.csproj

* Move DefaultHeaders to request object

* Using ReadAsStreamAsync

* update documentation

* WIP

* Update accountbalance.md

* docs update

* docs update

* Update README.md

* make property setters private

* update packages

* add comments

* Update c2b.md

* Update accountbalance.md

* Update b2b.md

* Update b2c.md

* Update intro.md

* Update reversal.md

* Update roadmap.md

* Update stkpush.md

* Update stkpushstatus.md

* Update transactionstatus.md

* Update TokenResponse.cs

* Update azure-pipelines.yml
  • Loading branch information
ayiemba authored Apr 25, 2020
1 parent 7553432 commit 3fe30e0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
10 changes: 9 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ variables:
nugetVersion: '5.2.0' # https://dist.nuget.org/tools.json

steps:

- task: UseDotNet@2
displayName: 'Use dotnet sdk 3.1.201'
inputs:
Expand Down Expand Up @@ -74,4 +75,11 @@ steps:
artifactType: container
artifactName: Packages
condition: and(succeeded(), eq(variables['system.pullrequest.isfork'], false))


- powershell: |
choco install docfx -y
docfx docfx_project/docfx.json
if ($lastexitcode -ne 0){
throw ("Error generating document")
}
displayName: "docfx documentation build"
4 changes: 2 additions & 2 deletions src/MpesaLib/Responses/TokenResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ public class TokenResponse
/// <summary>
///
/// </summary>
/// <param name="accessToken">Access token required to access other Mpesa API endpoints</param>
/// <param name="expiresIn">time in seconds after which the token expires</param>
/// <param name="access_token">Access token required to access other Mpesa API endpoints</param>
/// <param name="expires_in">time in seconds after which the token expires</param>
public TokenResponse(string access_token, string expires_in)
{
AccessToken = access_token;
Expand Down

0 comments on commit 3fe30e0

Please sign in to comment.