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:
1 parent
e26ebaf981
commit
de394a55c6
2 files changed
+30
-3
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user