Skip to content

REST updates and unit tests

Compare
Choose a tag to compare
@vredeling vredeling released this 12 Jan 23:16
· 41 commits to master since this release

This release includes some minor fixes and improves.
First of all, the unit tests are passing again.
Furthermore the Strava\API\Service\REST class has undergone some changes:

  • it is now possible to instantiate the class with an extra responseVerbosity parameter. Setting this to 1 gives you a way to access the response headers, status code and not just the body when calling the getResponse() method.
  • some methods within the REST class are now protected instead of private, allowing for easier extending.