Sha256: 89ff7b0fc556b9cadc3d933963eef4871147fc3f840c8d090831903f3f9f0da8

Contents?: true

Size: 153 Bytes

Versions: 27

Compression:

Stored size: 153 Bytes

Contents

module ShopifyAPI
  class DiscountCode < Base
    init_prefix :price_rule

    def price_rule_id
      @prefix_options[:price_rule_id]
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
shopify_api-9.2.0 lib/shopify_api/resources/discount_code.rb
shopify_api-9.1.0 lib/shopify_api/resources/discount_code.rb
shopify_api-9.0.4 lib/shopify_api/resources/discount_code.rb
shopify_api-9.0.3 lib/shopify_api/resources/discount_code.rb
shopify_api-9.0.2 lib/shopify_api/resources/discount_code.rb
shopify_api-9.0.1 lib/shopify_api/resources/discount_code.rb
shopify_api-9.0.0 lib/shopify_api/resources/discount_code.rb
shopify_api-8.1.0 lib/shopify_api/resources/discount_code.rb
shopify_api-8.0.0 lib/shopify_api/resources/discount_code.rb
shopify_api-7.1.0 lib/shopify_api/resources/discount_code.rb
shopify_api-7.0.2 lib/shopify_api/resources/discount_code.rb
shopify_api-7.0.1 lib/shopify_api/resources/discount_code.rb
shopify_api-7.0.0 lib/shopify_api/resources/discount_code.rb
shopify_api-6.0.0 lib/shopify_api/resources/discount_code.rb
shopify_api-5.2.4 lib/shopify_api/resources/discount_code.rb
shopify_api-5.2.3 lib/shopify_api/resources/discount_code.rb
shopify_api-5.2.2 lib/shopify_api/resources/discount_code.rb
shopify_api-5.2.1 lib/shopify_api/resources/discount_code.rb
shopify_api-5.2.0 lib/shopify_api/resources/discount_code.rb
shopify_api-5.1.0 lib/shopify_api/resources/discount_code.rb