Commit Graph

15 Commits

Author SHA1 Message Date
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 b4c37949dc Command line client no longer checks for an exact match on the buzz scopes.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@108 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2011-01-05 01:09:57 +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 b0846efa4a Added support for xoauth_requestor_id.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@100 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-22 19:15:05 +00:00
Bob Aman 20eff1df7d Added support for two-legged OAuth.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@92 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-22 00:36:23 +00:00
Bob Aman d346426d4d Making the commands line up in the --help screen.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@91 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-22 00:36:20 +00:00
Bob Aman 00eb093580 Significant improvements to the CLI.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@90 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-22 00:36:15 +00:00
Bob Aman 0986b4e64f Refactored CLI tool to be more maintainable.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@89 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-20 23:49:15 +00:00
Bob Aman 61fc497f2c Added interactive session command.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@69 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-13 00:57:04 +00:00
Bob Aman 6b9c146ebc Fixing dependency issues.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@67 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-12 23:26:41 +00:00
Bob Aman be265da6d4 Updating CLI and explorer to match recent changes.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@65 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-12 23:07:36 +00:00
Bob Aman c183d6ddfd Updated to handle content types correctly.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@54 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-12 02:09:14 +00:00
Bob Aman 733655684a First pass at CLI for Ruby client.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@53 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-12 01:53:40 +00:00