Skip to content

Commit

Permalink
Replace create-client reference with JSON credentials method
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Walder committed Jul 28, 2016
1 parent 13721be commit a49fbea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ This library supports namespaces, and they are be configured per `Gateway` insta

```php
// Create a store for a particular customer or 'application namespace'
$obj_client = GDS\Gateway::createGoogleClient(APP_NAME, ACCOUNT_NAME, KEY_FILE);
$obj_client = GDS\Gateway\GoogleAPIClient::createClientFromJson('/path/to/your/service.json');
$obj_namespaced_gateway = new GDS\Gateway($obj_client, PROJECT_ID, 'customer-namespace');
$obj_namespaced_book_store = new BookStore($obj_namespaced_gateway);
```
Expand Down

0 comments on commit a49fbea

Please sign in to comment.