crucialwebstudio / chargify-sdk-php

Chargify SDK for PHP
Apache License 2.0
26 stars 44 forks source link

\GuzzleHttp\Message\Response getStatus #1

Closed ghost closed 9 years ago

ghost commented 9 years ago

Hi;

I think there may be an issue calling the getStatus on \GuzzleHttp\Message\Response objects, should this be getStatusCode, or am I missing something?

example... \crucial\Service\Chargify\Customer - line 276

\crucial\Service\Chargify\Customer - line 299

Thanks

ghost commented 9 years ago

Thanks for the report. Yes, it looks like that should be getStatusCode(). I've pushed an update and tagged a new version. Can you update your composer.json to use version 0.0.3 and let me know if that fixes things for you?

Thanks, Dan

ghost commented 9 years ago

Thanks Dan!

Regards

Mike

ghost commented 9 years ago

Hi Dan;

I cant see the new tag, but I can confirm the dev branch fixes the issue.

Mike

ghost commented 9 years ago

Hi Mike. Sorry about that. The tag is pushed now.

-Dan