Sha256: ef5948f4fe69600031c45941691cafc27ac2481957332fc31743964219f0deff
Contents?: true
Size: 510 Bytes
Versions: 15
Compression:
Stored size: 510 Bytes
Contents
module Yotpo module AccountPlatform def create_account_platform(params) request ={ account_platform: { shop_token: params[:shop_token], shop_domain: params[:shop_domain], plan_name: params[:plan_name], platform_type_id: params[:platform_type_id], deleted: false }, utoken: params[:utoken] } app_key = params[:app_key] post("/apps/#{app_key}/account_platform", request) end end end
Version data entries
15 entries across 15 versions & 1 rubygems