lib/fanforce/api/_main.rb in fanforce-api-0.23.0 vs lib/fanforce/api/_main.rb in fanforce-api-0.30.0

- old
+ new

@@ -76,15 +76,15 @@ def identify(req_params) post '/bie/identify', req_params end - def track(plugin_id, req_params) - post '/bie/track', req_params.merge(plugin_id: plugin_id) + def track(com_behavior_id, req_params) + post '/bie/track', req_params.merge(com_behavior_id: com_behavior_id) end - def recommend(addon_id, unique_key, req_params={}) - req_params.update(unique_key: "#{addon_id}:#{unique_key}") + def recommend(com_behavior_id, unique_key, req_params={}) + req_params.update(unique_key: "#{com_behavior_id}:#{unique_key}") post '/bie/recommend', req_params end def auth(auth_data=nil) @auth_hash ||= {}