updated readme with correct example to create a new AuthenticatedUntappdCredentials.

This commit is contained in:
Rodrigo P Reis
2015-07-26 15:38:44 -06:00
parent a217aa235e
commit 2f0f51ab60

View File

@@ -69,7 +69,7 @@ For Authenticated requests:
```csharp ```csharp
var ts = new AuthenticatedUntappdCredentials("token", "key", "secret"); var ts = new AuthenticatedUntappdCredentials("token");
var t = new Repository().Get<ActivityFeed>(ts); var t = new Repository().Get<ActivityFeed>(ts);
``` ```
@@ -79,7 +79,7 @@ For Actions (usually post requests). Note: Actions return a dynamic object. Usua
```csharp ```csharp
var ts = new AuthenticatedUntappdCredentials("token", "key", "secret"); var ts = new AuthenticatedUntappdCredentials("token");
var checkin = new CheckIn("-5", "EST", 1044097) { Shout = "Awesome Brew", Rating = 4 }; var checkin = new CheckIn("-5", "EST", 1044097) { Shout = "Awesome Brew", Rating = 4 };
var response = repository.Post(ts, checkin); var response = repository.Post(ts, checkin);