Updated example.

git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@44 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
This commit is contained in:
Bob Aman committed 2010-10-07 22:12:27 +00:00
1 parent e26ebaf981
commit de394a55c6
2 files changed
+30 -3

No files matched your search

+8
View File
@@ -298,6 +298,14 @@ module Google
# otherwise. Defaults to <code>true</code>.
#
# @return [Array] The response from the API.
#
# @example
# response = client.execute(
# 'chili.activities.list',
# {'scope' => '@self', 'userId' => '@me', 'alt' => 'json'},
# '', [], {:signed => true}
# )
# status, headers, body = response
def execute(api_method, parameters={}, body='', headers=[], options={})
request = self.generate_request(
api_method, parameters, body, headers, options