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.2.1 lib/project_types/extension/models/product.rb
shopify-cli-2.2.0 lib/project_types/extension/models/product.rb