Sha256: 074e2531316516856d1df363aa62f04d80bb1145be0e881d070a6cc749d16cbe

Contents?: true

Size: 878 Bytes

Versions: 4

Compression:

Stored size: 878 Bytes

Contents

module Experian
  class DataDictionary

    def self.en_0136_column_name
      'Contributors Categories'
    end

    def self.en_0136_value_description(key); ''; end

    def self.en_0136_description
      'The Contributors Categories information is compiled via mail order responsiveness by categorized offers/media. Information is collected from 300+ proprietary participants who give us mail order responders and we subsequently categorize them into 1 of 25 categories. No single participant\'s information may exceed 25% of any category.'
    end

    def self.en_0136(key)
      return 'Unknown' if key.empty? or key.to_i > 9 or key.size > 1

      if key.to_i == 1
        return key.to_i.to_s + ' Response'
      elsif key.to_i > 1 and key.to_i < 10 or key.to_i == 0
        return key.to_i.to_s + ' Responses'
      else
        return nil
      end
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
experian-data-dictionary-1.4.4 lib/element_numbers/0100/en_0136.rb
experian-data-dictionary-1.4.3 lib/element_numbers/en_0136.rb
experian-data-dictionary-1.4.2 lib/element_numbers/en_0136.rb
experian-data-dictionary-1.4.1 lib/element_numbers/en_0136.rb