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 |
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 |
Matt Pokrzywa
|
bbe6cec303
|
skeleton for api request/respone abstraction
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@32 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
|
2010-09-14 03:39:23 +00:00 |
bobaman@google.com
|
719e576051
|
Updated to use Signet.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@31 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
|
2010-09-13 21:54:43 +00:00 |
bobaman@google.com
|
4787954779
|
Removed unneeded code.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@30 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
|
2010-09-13 21:54:35 +00:00 |
bobaman@google.com
|
5cdee47aba
|
Updating dependencies.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@29 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
|
2010-09-13 21:54:26 +00:00 |
bobaman@google.com
|
9d68bf115c
|
Removing transport and OAuth code that is no longer needed.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@28 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
|
2010-09-13 21:54:18 +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
|
5b71f47a4d
|
Added a request proxy for our HTTP request representations.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@26 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
|
2010-08-24 21:26:21 +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 |
mattpok@google.com
|
003b046116
|
added more json parser tests
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@24 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
|
2010-08-24 19:22:53 +00:00 |
mattpok@google.com
|
1b232831c4
|
added basic json parser support and tests
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@23 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
|
2010-08-23 22:07:50 +00:00 |
bobaman@google.com
|
bc844db311
|
Initial implementation of HTTP.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@22 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
|
2010-08-19 23:21:45 +00:00 |
bobaman@google.com
|
a9523bca32
|
Updating error messages to match.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@21 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
|
2010-08-19 23:21:18 +00:00 |
mattpok@google.com
|
831ee13c3a
|
add more comprehensive unit tests for transport parser config
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@20 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
|
2010-08-18 22:41:24 +00:00 |
mattpok@google.com
|
139302fd5e
|
added basic rspec for transport and fix imports in transport class
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@19 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
|
2010-08-18 22:18:21 +00:00 |
mattpok@google.com
|
e88fdbfef6
|
add parser configuration to http transport, will add tests next commit
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@18 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
|
2010-08-18 21:39:44 +00:00 |
mattpok@google.com
|
89b0e1c31a
|
added json parsing skeleton
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@17 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
|
2010-08-18 20:29:18 +00:00 |
bobaman@google.com
|
a22a8338f2
|
Added check to make sure Rcov is installed.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@16 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
|
2010-08-17 22:09:41 +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
|
6331247e7a
|
Added some tests for determining the discovery document URI.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@14 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
|
2010-08-14 01:35:51 +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
|
0d45cbe27b
|
Updated OAuth1 configuration code. Added docs.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@9 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
|
2010-08-14 00:53:57 +00:00 |
bobaman@google.com
|
e4b6f8528e
|
Updated OAuth to actually perform authorization stuff.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@8 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
|
2010-08-12 01:07: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 |
mattpok@google.com
|
6aba0e8cad
|
add json to gem.rake
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@5 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
|
2010-08-10 23:42:36 +00:00 |
bobaman@google.com
|
6901797894
|
Fixed yardoc task.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@4 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
|
2010-08-10 05:01:21 +00:00 |
bobaman@google.com
|
70ed84ffec
|
Added some stubs for OAuth and HTTP.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@3 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
|
2010-08-10 04:44:14 +00:00 |
bobaman@google.com
|
d371bc3cbf
|
Basic project skeleton.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@2 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
|
2010-07-28 19:30:56 +00:00 |
(no author)
|
6ff87d41e6
|
Initial directory structure.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@1 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
|
2010-07-28 17:06:25 +00:00 |