Bob Aman
|
b8bd8e3964
|
Added support for API feature lists.
|
2011-08-08 17:23:59 -04:00 |
Bob Aman
|
547034d1e3
|
Adding missing require.
|
2011-08-05 17:00:36 -04:00 |
Bob Aman
|
75ee556a99
|
Moved dynamic method definitions into the APIObject class.
|
2011-08-05 16:55:40 -04:00 |
Bob Aman
|
960796d23d
|
Added default values.
|
2011-08-05 14:44:29 -04:00 |
Bob Aman
|
13d590631b
|
Added API#schema_for_kind method to allow schema lookups by kind.
|
2011-08-05 14:43:56 -04:00 |
Bob Aman
|
1fa3fb25d9
|
Better way to handle automatic parsing using the schemas in the discovery document.
|
2011-08-04 23:36:36 -04:00 |
Bob Aman
|
b4745890f5
|
Separated out the discovery classes into individual files.
|
2011-08-04 18:32:00 -04: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 |
Bob Aman
|
3a9d58108a
|
Signed requests can now be generated and transmitted by the client.
Example code:
require 'google/api_client'
client = Google::APIClient.new(:service => 'buzz')
client.authorization.fetch_temporary_credential!(
:additional_parameters => {
'scope' => 'https://www.googleapis.com/auth/buzz'
}
)
client.authorization.authorization_uri
# Redirect user here
client.authorization.fetch_token_credential!(:verifier => '12345')
response = client.execute(
'buzz.activities.list',
'scope' => '@self', 'userId' => '@me', 'alt' => 'json'
)
status, headers, body = response
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@34 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
|
2010-09-16 23:40:08 +00:00 |
Bob Aman
|
f462322be5
|
URI template expansion works.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@33 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
|
2010-09-16 19:12:52 +00:00 |
bobaman@google.com
|
541054e88d
|
Made the builder more flexible by adding a callback parameter.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@27 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
|
2010-08-24 21:59:53 +00:00 |
bobaman@google.com
|
d61916b110
|
Added a rudimentary implementation of a MethodBuilder.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@25 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
|
2010-08-24 21:26:12 +00:00 |
bobaman@google.com
|
e6ba0f6860
|
Updating code to consistent coding style.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@15 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
|
2010-08-17 01:21:17 +00:00 |
bobaman@google.com
|
31132ffbb9
|
Added some tests for determining the discovery document URI.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@13 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
|
2010-08-14 01:35:06 +00:00 |
bobaman@google.com
|
63783453e6
|
Added brief documentation to the handler classes.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@12 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
|
2010-08-14 01:28:57 +00:00 |
bobaman@google.com
|
25786356d3
|
Added code to determine the location of the discovery document.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@11 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
|
2010-08-14 01:26:01 +00:00 |
bobaman@google.com
|
a6d7aa570e
|
Updated the configuration handling code.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@10 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
|
2010-08-14 01:16:35 +00:00 |
bobaman@google.com
|
10f9db8ac6
|
Added addressable/template require to discovery.rb.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@7 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
|
2010-08-11 21:20:13 +00:00 |
mattpok@google.com
|
991fc86231
|
add skeleton for discovery
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@6 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
|
2010-08-11 19:11:06 +00:00 |