Commit Graph

18 Commits

Author SHA1 Message Date
Bob Aman bb4e15b9f4 Fixed issues with recursive structures and external references. 2011-10-05 14:13:39 +03:00
Bob Aman ef065ce8d6 Added code to include userIp and key parameters. 2011-09-22 13:49:46 +03:00
Bob Aman 0d2cbe26df Fixed issue with header/options ambiguity. 2011-08-02 16:20:54 -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
Bob Aman ef2abc0493 Updated to use v1 of the discovery API.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@155 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2011-05-12 20:14:15 +00:00
Bob Aman 286a7152f2 A significant update of the client functionality.
* updated to use v0.3 of the discovery API
* updated to use httpadapter 1.0.0
* added OAuth 2 support to the command line tool
* renamed some switches in the command line tool
* added additional configuration capabilities

git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@128 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2011-05-04 11:44:35 +00:00
Bob Aman 38f5bc5baf Added ability to update the base URI in services, resources, and methods.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@102 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-22 22:56:01 +00:00
Bob Aman f63bf8199f Added option to support manually specified discovery URI.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@101 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-22 22:21:26 +00:00
Bob Aman 5572a73fdf Fixed incompatibilities with Ruby 1.8.6
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@71 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-13 21:16:07 +00:00
Bob Aman ecf330f177 Added check for major.minor.tiny version format.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@61 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-12 20:41:14 +00:00
Bob Aman 3bd7056e86 Updated version sorting code and added authorization shortcuts.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@60 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-12 20:39:09 +00:00
Bob Aman e50442091c Fixed issue with invalid type checking.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@51 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-09 02:41:38 +00:00
Bob Aman e26ebaf981 Finished documentation.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@43 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-07 00:02:22 +00:00
Bob Aman 99529740bc Improving testing and coverage.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@39 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-09-30 21:57:13 +00:00
Bob Aman c7ba3a5df0 Improving testing and coverage.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@38 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-09-30 21:46:08 +00:00
Bob Aman 7e48c8913c Improving testing and coverage.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@37 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-09-30 21:33:23 +00:00
Bob Aman bbcc946f33 Improved coverage in tests and fixed a URI join bug.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@36 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-09-28 23:09:07 +00:00
Bob Aman f96412cf23 Reorganized some of the code and removed unnecessary stuff.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@35 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-09-18 00:30:02 +00:00