Sha256: fe7ee1ce0e4a210276397e2ce3d472475f93c9875bf1f9220deb60b0642a0095

Contents?: true

Size: 908 Bytes

Versions: 1

Compression:

Stored size: 908 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 || confidence[key[0]].nil? || key[1...4].to_i.nil? || key[1...4].to_i > 125
      [key[1...4].to_i, confidence[key[0]]].join(' - ')
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
experian-data-dictionary-1.4.5 lib/element_numbers/0700/en_0715.rb