Sha256: e47e74f0a92d51245d4c083a48c26479bb31c6ec0a897d1ce4fc49d861f0b44b

Contents?: true

Size: 248 Bytes

Versions: 62

Compression:

Stored size: 248 Bytes

Contents

# frozen_string_literal: true

module Extension
  module Models
    class Product
      include SmartProperties

      property :variant_id, accepts: Integer, converts: :to_i
      property :quantity, accepts: Integer, default: 1
    end
  end
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
shopify-cli-2.36.0 lib/project_types/extension/models/product.rb
shopify-cli-2.35.0 lib/project_types/extension/models/product.rb
shopify-cli-2.34.0 lib/project_types/extension/models/product.rb
shopify-cli-2.33.1 lib/project_types/extension/models/product.rb
shopify-cli-2.33.0 lib/project_types/extension/models/product.rb
shopify-cli-2.32.1 lib/project_types/extension/models/product.rb
shopify-cli-2.32.0 lib/project_types/extension/models/product.rb
shopify-cli-2.31.0 lib/project_types/extension/models/product.rb
shopify-cli-2.30.0 lib/project_types/extension/models/product.rb
shopify-cli-2.29.0 lib/project_types/extension/models/product.rb
shopify-cli-2.28.0 lib/project_types/extension/models/product.rb
shopify-cli-2.27.0 lib/project_types/extension/models/product.rb
shopify-cli-2.26.0 lib/project_types/extension/models/product.rb
shopify-cli-2.25.0 lib/project_types/extension/models/product.rb
shopify-cli-2.24.0 lib/project_types/extension/models/product.rb
shopify-cli-2.23.0 lib/project_types/extension/models/product.rb
shopify-cli-2.22.0 lib/project_types/extension/models/product.rb
shopify-cli-2.21.0 lib/project_types/extension/models/product.rb
shopify-cli-2.20.1 lib/project_types/extension/models/product.rb
shopify-cli-2.20.0 lib/project_types/extension/models/product.rb