[opensocial-ruby-client] r38 committed - Added new get_supported_fields method.

0 views
Skip to first unread message

codesite...@google.com

unread,
Nov 5, 2009, 7:31:00 PM11/5/09
to opensocial-cl...@googlegroups.com
Revision: 38
Author: zlu...@myspace.com
Date: Thu Nov 5 16:30:15 2009
Log: Added new get_supported_fields method.
http://code.google.com/p/opensocial-ruby-client/source/detail?r=38

Modified:
/trunk/lib/opensocial/statusmood.rb

=======================================
--- /trunk/lib/opensocial/statusmood.rb Wed Nov 4 16:43:36 2009
+++ /trunk/lib/opensocial/statusmood.rb Thu Nov 5 16:30:15 2009
@@ -109,7 +109,12 @@
'id' => @key
}.to_json(*a)
end
-
+
+ # Get supported fields for the service
+ def get_supported_fields(service)
+ return send_request(service, @guid, '@supportedMood')
+ end
+
end


Reply all
Reply to author
Forward
0 new messages