Closed robwittman closed 8 years ago
If you attempt to use the SDK without calling init() first, it attempts to execute even though there is no static instance. This should fail gracefully and toss the requisite exception, and helpful message
When \Shopify\Shopify::instance() is called, it checks for NULL. If it is indeed NULL, it throws ApiException saying to initialize
If you attempt to use the SDK without calling init() first, it attempts to execute even though there is no static instance. This should fail gracefully and toss the requisite exception, and helpful message