Sha256: c32dcbf2062258b16de4dd383cad7437b0973c89eb097ddc48bb39f9d015f04a

Contents?: true

Size: 600 Bytes

Versions: 3

Compression:

Stored size: 600 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

3 entries across 3 versions & 1 rubygems

Version Path
fastlane_hotfix-2.165.1 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane_hotfix-2.165.0 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane_hotfix-2.187.0 precheck/lib/precheck/rules/free_stuff_iap_rule.rb