discount_code.rb 183 B

12345678910
  1. # frozen_string_literal: true
  2. module ShopifyAPI
  3. class DiscountCode < Base
  4. init_prefix :price_rule
  5. def price_rule_id
  6. @prefix_options[:price_rule_id]
  7. end
  8. end
  9. end