fanforce-api 0.21.0 → 0.22.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/fanforce/api/_main.rb +2 -2
- data/lib/fanforce/api/version.rb +1 -1
- metadata +1 -1
data/lib/fanforce/api/_main.rb
CHANGED
@@ -82,8 +82,8 @@ class Fanforce::API
|
|
82
82
|
post '/bie/track', req_params.merge(plugin_id: plugin_id)
|
83
83
|
end
|
84
84
|
|
85
|
-
def recommend(addon_type, addon_id, unique_key,
|
86
|
-
req_params
|
85
|
+
def recommend(addon_type, addon_id, unique_key, req_params={})
|
86
|
+
req_params.update(unique_key: unique_key, "#{addon_type}_id" => addon_id)
|
87
87
|
post '/bie/recommend', req_params
|
88
88
|
end
|
89
89
|
|
data/lib/fanforce/api/version.rb
CHANGED