buddy 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/buddy/service.rb +3 -3
- metadata +2 -2
data/lib/buddy/service.rb
CHANGED
@@ -41,11 +41,11 @@ module Buddy
|
|
41
41
|
|
42
42
|
fun = case api_method
|
43
43
|
when 'fql.query'
|
44
|
-
|
44
|
+
lambda { MiniFB.fql(params[:access_token], params[:query], options) }
|
45
45
|
when 'fql.multiquery'
|
46
|
-
|
46
|
+
lambda { MiniFB.multifql(params[:access_token], params[:queries], options) }
|
47
47
|
else
|
48
|
-
|
48
|
+
lambda do
|
49
49
|
if params[:access_token]
|
50
50
|
options[:params] = params
|
51
51
|
MiniFB.rest(params[:access_token], api_method, options)
|