Commit Graph

17 Commits

Author SHA1 Message Date
Sudipta Chatterjee 1cea86609b Updating success logic
Updating the definition of SUCCESS response code to be 200 OK or 201
Continue. Error is anything that isn't success. This helps flag
conditions like an unsuccessful update (return code 304) which the
library would have flagged as success earlier
2015-04-10 16:12:37 -07:00
Steven Bazyl b9639ee11c #158 - guard against missing page tokens when building next/prev page requests 2014-12-16 20:57:12 -08:00
Steven Bazyl 30d0ffc698 Issue 59 - handle 204 responses more gracefully 2012-10-10 14:28:46 -06:00
Steven Bazyl 83ab4a681f More documentation cleanup 2012-10-10 14:28:46 -06:00
Steven Bazyl 9bd9ceb75c More documentation cleanup 2012-10-10 14:28:45 -06:00
Steven Bazyl 1fca089d62 Mostly doc updates, +remove support for method as string 2012-10-10 14:28:45 -06:00
Steven Bazyl 2c6bf97b20 Unify processing of api/resumable/batch requests 2012-10-10 14:25:43 -06:00
Steven Bazyl 5d2a6d4842 Begin consolidation of request building in reference. Further changes coming to simplify batch + media handling 2012-10-10 14:24:25 -06:00
Steven Bazyl 1ff1a8e355 Issue 47 - Improve error handling on result 2012-08-01 00:28:39 +03:00
Bob Aman c651d69674 Updated to avoid deprecation of encode and decode methods in multi_json gem. 2012-04-24 14:39:25 +03:00
Steven Bazyl b8301b0dd5 Media upload support 2012-03-01 17:23:36 -08:00
Bob Aman 06cdb76670 Updated to replace httpadapter with faraday. 2012-01-27 17:57:57 +03:00
Bob Aman 0bc3d4936b Migrated to MultiJson from JSON gem. 2012-01-05 13:05:56 +03:00
Bob Aman 321533455c Fixed some YARD documentation issues and changed how the user-agent is built. 2011-12-02 16:43:55 +03:00
Bob Aman af104f8c5f Fixed issue with ambiguous reference. 2011-09-22 16:26:33 +03:00
Bob Aman 27ae32d2e7 Basic structure of schema parsing complete.
* Note that additionalProperties fields are not currently supported and may
  only be accessed in raw form. Shouldn't be a big deal because only the Buzz
  API uses them extensively.
2011-08-10 16:48:22 -04:00
Bob Aman f336ab34a7 Major update, primarily to add pagination support.
* Added Reference objects to encapsulate API calls.
* Added Result objects to encapsulate API responses.
* Changed the return value of APIClient#execute to Result.
* Changed the method signature of APIClient#execute to support named params.
* Added APIClient#execute! which throws exceptions on error.
* Added automatic parsing code to better allow for complex nested structures.
* Added error parser.
* Added module for pagination in parsers.
2011-07-29 18:07:04 -04:00