Skip to content

Commit

Permalink
Added upgrade doc
Browse files Browse the repository at this point in the history
  • Loading branch information
gnikyt committed May 17, 2018
1 parent c23e590 commit 35c9fd4
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions UPGRADING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Upgrading

# v1.x.x -> v2.0.0

Library is no longer a single class. It now has a namespace with several classes.

Old:

```php
use OhMyBrew\BasicShopifyAPI;

$api = new BasicShopifyAPI(...);
```

New:

```php

use OhMyBrew\ShopifyAPI;

$api = new RestAPI(...);
```

A GraphQL API class is now also included, use `GraphAPI`.

0 comments on commit 35c9fd4

Please sign in to comment.