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

Version Path
yotpo-1.0.6 lib/yotpo/api/account_platform.rb
yotpo-1.0.5 lib/yotpo/api/account_platform.rb
yotpo-1.0.4 lib/yotpo/api/account_platform.rb
yotpo-1.0.3 lib/yotpo/api/account_platform.rb
yotpo-1.0.1 lib/yotpo/api/account_platform.rb
yotpo-1.0.0 lib/yotpo/api/account_platform.rb
yotpo-0.1.0 lib/yotpo/api/account_platform.rb
yotpo-0.0.10 lib/yotpo/api/account_platform.rb
yotpo-0.0.9 lib/yotpo/api/account_platform.rb
yotpo-0.0.8 lib/yotpo/api/account_platform.rb
yotpo-0.0.7 lib/yotpo/api/account_platform.rb
yotpo-0.0.6 lib/yotpo/api/account_platform.rb
yotpo-0.0.5 lib/yotpo/api/account_platform.rb
yotpo-0.0.3 lib/yotpo/api/account_platform.rb
yotpo-0.0.2 lib/yotpo/api/account_platform.rb