Sha256: 1cadf6bfbaaa321a75889b20f84b33d21c58ce2c9c0acf5cefb63a01f13dae1d

Contents?: true

Size: 569 Bytes

Versions: 661

Compression:

Stored size: 569 Bytes

Contents

require_relative 'abstract_text_match_rule'

module Precheck
  class FreeStuffIAPRule < AbstractTextMatchRule
    def self.key
      :free_stuff_in_iap
    end

    def self.env_name
      "RULE_FREE_STUFF_IN_IAP"
    end

    def self.friendly_name
      "No words indicating your IAP is free"
    end

    def self.description
      "using text indicating that your IAP is free"
    end

    def supported_fields_symbol_set
      [:in_app_purchase].to_set
    end

    def lowercased_words_to_look_for
      [
        "free"
      ].map(&:downcase)
    end
  end
end

Version data entries

661 entries across 661 versions & 5 rubygems

Version Path
fastlane-2.74.0.beta.20180107010004 precheck/lib/precheck/rules/free_stuff_iap_rule.rb