Sha256: 48bcfe4cd4a9db28e1dd37816543a196cbabe88db3042f6d6a5167a0784519fc
Contents?: true
Size: 1.01 KB
Versions: 6
Compression:
Stored size: 1.01 KB
Contents
module Yotpo module OwnerFeatureSetting def get_feature_settings(params) request = { utoken: params[:utoken], owner_ids: params[:owner_ids] } get("features/#{params[:feature_id]}/get_multiple_owners_settings", request) end def mass_update_feature_settings(params) request = { utoken: params[:utoken], settings: params[:settings] } put("features/#{params[:feature_id]}/#{params[:owner_id]}/admin_mass_update", request) end def owner_feature_settings(params) request = { utoken: params[:utoken], } get("apps/#{params[:app_key]}/features/#{params[:feature_id]}/feature_settings", request) end def update_feature_settings(params) request = { utoken: params[:utoken], value: params[:value], key: params[:key] } put("apps/#{params[:app_key]}/features/#{params[:feature_id]}/feature_settings/#{params[:feature_settings_id]}", request) end end end
Version data entries
6 entries across 6 versions & 1 rubygems