Sha256: 9c61229f9399f980db640d546fa1d84afcbdba9ac130716d85825fc1da5fe24d

Contents?: true

Size: 902 Bytes

Versions: 4

Compression:

Stored size: 902 Bytes

Contents

module Experian
  class DataDictionary

    def self.en_0715_column_name
      'Estimated Current Loan-to-Value Ratio Ranges'
    end

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

    def self.en_0715_description
      'Estimated Current Loan to Value Ratio is a percentage of the current estimated mortgage amount divided by the estimated current market value of the home. The higher the ratio, the less equity the homeowner has on the house. This ratio is available on wherever the loan amount and estimated current home value are available.'
    end

    def self.en_0715(key)
      confidence = {
        '1' => 'Extremely Likely',
        '2' => 'Highly Likely',
        '3' => 'Likely'
      }


      return 'Unknown' if key.size != 4 or confidence[key[0]].nil? or key[1...4].to_i.nil? or key[1...4].to_i > 125
      [key[1...4].to_i, confidence[key[0]]].join(' - ')
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
experian-data-dictionary-1.4.4 lib/element_numbers/0700/en_0715.rb
experian-data-dictionary-1.4.3 lib/element_numbers/en_0715.rb
experian-data-dictionary-1.4.2 lib/element_numbers/en_0715.rb
experian-data-dictionary-1.4.1 lib/element_numbers/en_0715.rb