mismo_enum 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/MIT-LICENSE +21 -0
- data/Rakefile +21 -0
- data/app/assets/javascripts/mismo_enum/application.js +13 -0
- data/app/assets/stylesheets/mismo_enum/application.css +15 -0
- data/app/controllers/mismo_enum/application_controller.rb +4 -0
- data/app/helpers/mismo_enum/application_helper.rb +4 -0
- data/app/models/mismo_enum/amortization_type.rb +39 -0
- data/app/models/mismo_enum/automated_underwriting_system_type.rb +32 -0
- data/app/models/mismo_enum/bankruptcy_disposition_type.rb +26 -0
- data/app/models/mismo_enum/bankruptcy_status_type.rb +20 -0
- data/app/models/mismo_enum/base.rb +6 -0
- data/app/models/mismo_enum/borrower_classification_type.rb +19 -0
- data/app/models/mismo_enum/citizenship_residency_type.rb +23 -0
- data/app/models/mismo_enum/construction_method_type.rb +33 -0
- data/app/models/mismo_enum/definition_of_value_type.rb +25 -0
- data/app/models/mismo_enum/foreclosure_status_type.rb +35 -0
- data/app/models/mismo_enum/gender_type.rb +21 -0
- data/app/models/mismo_enum/index_source_type.rb +140 -0
- data/app/models/mismo_enum/index_type.rb +27 -0
- data/app/models/mismo_enum/loan_delinquency_status_type.rb +108 -0
- data/app/models/mismo_enum/loan_purpose_type.rb +26 -0
- data/app/models/mismo_enum/loan_state_type.rb +44 -0
- data/app/models/mismo_enum/marital_status_type.rb +22 -0
- data/app/models/mismo_enum/mortgage_type.rb +43 -0
- data/app/models/mismo_enum/payment_delinquency_status_type.rb +22 -0
- data/app/models/mismo_enum/postal_state.rb +95 -0
- data/app/models/mismo_enum/prepayment_penalty_option_type.rb +21 -0
- data/app/models/mismo_enum/project_design_type.rb +24 -0
- data/app/models/mismo_enum/project_legal_structure_type.rb +32 -0
- data/app/models/mismo_enum/property_usage_type.rb +26 -0
- data/app/models/mismo_enum/property_valuation_method_type.rb +29 -0
- data/app/models/mismo_enum/property_valuation_state_type.rb +20 -0
- data/app/models/mismo_enum/rate_lock_type.rb +19 -0
- data/app/models/mismo_enum/refinance_cash_out_determination_type.rb +21 -0
- data/app/models/mismo_enum/taxpayer_identifier_type.rb +24 -0
- data/app/views/layouts/mismo_enum/application.html.erb +14 -0
- data/config/routes.rb +2 -0
- data/db/migrations/001_create_mismo_enums.rb +26 -0
- data/db/seeds.rb +3 -0
- data/lib/generators/mismo_enum/install/install_generator.rb +22 -0
- data/lib/generators/mismo_enum/templates/create_mismo_enums.rb +26 -0
- data/lib/mismo_enum.rb +3 -0
- data/lib/mismo_enum/class_list.rb +50 -0
- data/lib/mismo_enum/engine.rb +11 -0
- data/lib/mismo_enum/helper.rb +3 -0
- data/lib/mismo_enum/version.rb +3 -0
- data/lib/tasks/mismo_enum_tasks.rake +23 -0
- metadata +92 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 3cc5c9d77941b2078270f04f1024f34e85463983
|
4
|
+
data.tar.gz: dd70ce1264df3994f16e2cf050fccdb9223a2ffc
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: f429b091f9997b1a47a924979a1f33dd9d688c0a3658e6e834006a9f73793d53e9d3603a5db831f285a8dd14cae8af3e8de55d4673e4aacaf393bfe3722fef62
|
7
|
+
data.tar.gz: 0b065dc419153a13dae09e869fc1940cd0bd0a71334bec8c60d81c7650196f8183f712577eadf5451d3398647cc00128e5b80eb0a072dd886bf594642d86da22
|
data/MIT-LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
Copyright 2015-2016 Chad Edie and PennyMac Financial Services, Inc.
|
2
|
+
|
3
|
+
|
4
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
5
|
+
a copy of this software and associated documentation files (the
|
6
|
+
"Software"), to deal in the Software without restriction, including
|
7
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
8
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
9
|
+
permit persons to whom the Software is furnished to do so, subject to
|
10
|
+
the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be
|
13
|
+
included in all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
16
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
17
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
18
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
19
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
20
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
21
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/Rakefile
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
begin
|
2
|
+
require 'bundler/setup'
|
3
|
+
rescue LoadError
|
4
|
+
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
|
5
|
+
end
|
6
|
+
|
7
|
+
require 'rdoc/task'
|
8
|
+
|
9
|
+
RDoc::Task.new(:rdoc) do |rdoc|
|
10
|
+
rdoc.rdoc_dir = 'rdoc'
|
11
|
+
rdoc.title = 'MismoEnum'
|
12
|
+
rdoc.options << '--line-numbers'
|
13
|
+
rdoc.rdoc_files.include('README.rdoc')
|
14
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
15
|
+
end
|
16
|
+
|
17
|
+
APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
|
18
|
+
load 'rails/tasks/engine.rake'
|
19
|
+
load 'rails/tasks/statistics.rake'
|
20
|
+
|
21
|
+
Bundler::GemHelper.install_tasks
|
@@ -0,0 +1,13 @@
|
|
1
|
+
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
2
|
+
// listed below.
|
3
|
+
//
|
4
|
+
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
5
|
+
// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
|
6
|
+
//
|
7
|
+
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
|
+
// compiled file.
|
9
|
+
//
|
10
|
+
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
|
11
|
+
// about supported directives.
|
12
|
+
//
|
13
|
+
//= require_tree .
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/*
|
2
|
+
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
+
* listed below.
|
4
|
+
*
|
5
|
+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
+
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
|
7
|
+
*
|
8
|
+
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
9
|
+
* compiled file so the styles you add here take precedence over styles defined in any styles
|
10
|
+
* defined in the other CSS/SCSS files in this directory. It is generally better to create a new
|
11
|
+
* file per style scope.
|
12
|
+
*
|
13
|
+
*= require_tree .
|
14
|
+
*= require_self
|
15
|
+
*/
|
@@ -0,0 +1,39 @@
|
|
1
|
+
# app/models/mismo_enum/amortization_type.rb
|
2
|
+
# enum
|
3
|
+
|
4
|
+
class MismoEnum::AmortizationType < MismoEnum::Base
|
5
|
+
validates_presence_of :name
|
6
|
+
validates_uniqueness_of :name
|
7
|
+
|
8
|
+
def self.description
|
9
|
+
'A classification or description of a loan or a group of loans generally'+
|
10
|
+
' based on the changeability of the rate or payment over time.'
|
11
|
+
end
|
12
|
+
|
13
|
+
def self.seed
|
14
|
+
[[1, 'Fixed', 'A mortgage in which the interest rate and payments remain '+
|
15
|
+
'the same for the life of the loan.'],
|
16
|
+
[2, 'AdjustableRate', 'A mortgage that allows the lender to adjust the '+
|
17
|
+
'interest rate in accordance with a specified index periodically.'],
|
18
|
+
[3, 'GEM', '(Growing Equity Mortgage) - A graduated payment mortgage in '+
|
19
|
+
'which increases in a borrowers mortgage payments are used to '+
|
20
|
+
'accelerate reduction of principal on the mortgage. Due to increased '+
|
21
|
+
'payment, the borrower acquires equity more rapidly and retires the '+
|
22
|
+
'debt earlier.'],
|
23
|
+
[4, 'GPM', '(Graduated Payment Mortgage) A type of flexible payment '+
|
24
|
+
'mortgage where the payments increase for a specified period of time '+
|
25
|
+
'and then level off. Usually involves negative amortization.'],
|
26
|
+
[5, 'GraduatedPaymentARM', 'Periodic payments/rate changes with '+
|
27
|
+
'additional specified principal and interest changes as documented in '+
|
28
|
+
'the Security Instruments.'],
|
29
|
+
[6, 'Other', 'Used to describe the amortization type if it is other than '+
|
30
|
+
'those specified in the enumerated list of Loan Amortization Types.'],
|
31
|
+
[7, 'RateImprovementMortgage', 'A type of flexible mortgage where the '+
|
32
|
+
'interest rate may decrease based on payment history.'],
|
33
|
+
[8, 'Step', 'Fixed periodic payment/rate changes without subsidy or '+
|
34
|
+
'negative amortization.']
|
35
|
+
].each { |id, entry, desc| create(id: id,
|
36
|
+
name: entry,
|
37
|
+
description: desc) }
|
38
|
+
end
|
39
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# app/models/mismo_enum/automated_underwriting_system_type.rb
|
2
|
+
# enum
|
3
|
+
|
4
|
+
class MismoEnum::AutomatedUnderwritingSystemType < MismoEnum::Base
|
5
|
+
validates_presence_of :name
|
6
|
+
validates_uniqueness_of :name
|
7
|
+
|
8
|
+
def self.description
|
9
|
+
'The type of automated underwriting system used to evaluate the loan.'
|
10
|
+
end
|
11
|
+
|
12
|
+
def self.seed
|
13
|
+
[[1, 'DesktopUnderwriter', 'Fannie Mae'],
|
14
|
+
[2, 'GuaranteedUnderwritingSystem', ''],
|
15
|
+
[3, 'FHAScorecard', 'The loan scoring tool used by lenders to manage '+
|
16
|
+
'workflow and expedite the endorsement process for FHA loans. The FHA'+
|
17
|
+
' TOTAL Scorecard evaluates the overall creditworthiness of the '+
|
18
|
+
'applicants and determines an associated risk level of a loan\'s '+
|
19
|
+
'eligibility for insurance by FHA.'],
|
20
|
+
[4, 'LoanProspector', 'Freddie Mac'],
|
21
|
+
[5, 'Other', ''],
|
22
|
+
[6, 'Assetwise', 'GMAC / RFC'],
|
23
|
+
[7, 'Capstone', ''],
|
24
|
+
[8, 'Clues', 'Bank of America'],
|
25
|
+
[9, 'ECS', 'Wells Fargo'],
|
26
|
+
[10, 'Strategyware', ''],
|
27
|
+
[11, 'Zippy', 'Chase']
|
28
|
+
].each { |id, entry, desc| create(id: id,
|
29
|
+
name: entry,
|
30
|
+
description: desc) }
|
31
|
+
end
|
32
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# app/models/mismo_enum/bankruptcy_disposition_type.rb
|
2
|
+
# enum
|
3
|
+
|
4
|
+
class MismoEnum::BankruptcyDispositionType < MismoEnum::Base
|
5
|
+
validates_presence_of :name
|
6
|
+
validates_uniqueness_of :name
|
7
|
+
|
8
|
+
def self.description
|
9
|
+
'The administrative standing of the bankruptcy case based upon a court '+
|
10
|
+
'ruling at a procedural milestone.'
|
11
|
+
end
|
12
|
+
|
13
|
+
def self.seed
|
14
|
+
[[1, 'Confirmed', 'The bankruptcy plan has been accepted by affected '+
|
15
|
+
'parties'],
|
16
|
+
[2, 'Discharged', 'The unsecured debt is no longer pursuable'],
|
17
|
+
[3, 'Dismissed', 'The bankruptcy was not completed. Collection activites '+
|
18
|
+
'can resume'],
|
19
|
+
[4, 'Other', ''],
|
20
|
+
[5, 'Pending', 'A bankruptcy action is currently waiting on a matter '+
|
21
|
+
'resolution by the court']
|
22
|
+
].each { |id, entry, desc| create(id: id,
|
23
|
+
name: entry,
|
24
|
+
description: desc) }
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# app/models/mismo_enum/bankruptcy_status_type.rb
|
2
|
+
# enum
|
3
|
+
|
4
|
+
class MismoEnum::BankruptcyStatusType < MismoEnum::Base
|
5
|
+
validates_presence_of :name
|
6
|
+
validates_uniqueness_of :name
|
7
|
+
|
8
|
+
def self.description
|
9
|
+
'The documented status of the bankruptcy'
|
10
|
+
end
|
11
|
+
|
12
|
+
def self.seed
|
13
|
+
[[1, 'Active', 'The bankruptcy is ongoing'],
|
14
|
+
[2, 'Closed', 'The case has been closed by the bankruptcy court.'],
|
15
|
+
[3, 'Other', '']
|
16
|
+
].each { |id, entry, desc| create(id: id,
|
17
|
+
name: entry,
|
18
|
+
description: desc) }
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# app/models/mismo_enum/borrower_classification_type.rb
|
2
|
+
# enum
|
3
|
+
|
4
|
+
class MismoEnum::BorrowerClassificationType < MismoEnum::Base
|
5
|
+
validates_presence_of :name
|
6
|
+
validates_uniqueness_of :name
|
7
|
+
|
8
|
+
def self.description
|
9
|
+
'Indicates whether the borrower is the primary or a secondary borrower.'
|
10
|
+
end
|
11
|
+
|
12
|
+
def self.seed
|
13
|
+
[[1, 'Primary', ''],
|
14
|
+
[2, 'Secondary', '']
|
15
|
+
].each { |id, entry, desc| create(id: id,
|
16
|
+
name: entry,
|
17
|
+
description: desc) }
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# app/models/mismo_enum/citizenship_residency_type.rb
|
2
|
+
# enum
|
3
|
+
|
4
|
+
class MismoEnum::CitizenshipResidencyType < MismoEnum::Base
|
5
|
+
validates_presence_of :name
|
6
|
+
validates_uniqueness_of :name
|
7
|
+
|
8
|
+
def self.description
|
9
|
+
'Indicates the U.S. citizenship or alien status of the borrower, as'+
|
10
|
+
' collected on the URLA (Section VIII, lines j. and k.).'
|
11
|
+
end
|
12
|
+
|
13
|
+
def self.seed
|
14
|
+
[[1, 'NonPermanentResidentAlien', ''],
|
15
|
+
[2, 'NonResidentAlien', ''],
|
16
|
+
[3, 'PermanentResidentAlien', ''],
|
17
|
+
[4, 'USCitizen', ''],
|
18
|
+
[5, 'Unknown', '']
|
19
|
+
].each { |id, entry, desc| create(id: id,
|
20
|
+
name: entry,
|
21
|
+
description: desc) }
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# app/models/mismo_enum/construction_method_type.rb
|
2
|
+
# enum
|
3
|
+
|
4
|
+
class MismoEnum::ConstructionMethodType < MismoEnum::Base
|
5
|
+
validates_presence_of :name
|
6
|
+
validates_uniqueness_of :name
|
7
|
+
|
8
|
+
def self.description
|
9
|
+
'Describes the construction process for the main dwelling unit of the'+
|
10
|
+
' subject property.'
|
11
|
+
end
|
12
|
+
|
13
|
+
def self.seed
|
14
|
+
[[1, 'Manufactured', 'A factory built dwelling built in compliance with '+
|
15
|
+
'the Federal Manufactured Home Construction and Safety Standards in '+
|
16
|
+
'effect at the time the home was manufactured as evidenced by the HUD'+
|
17
|
+
' label. (HUD Code Home)'],
|
18
|
+
[2, 'MobileHome', 'Dwelling unit constructed on a base frame which '+
|
19
|
+
'features wheels and axles to be used in transporting home from place'+
|
20
|
+
' to place, does not meet HUD code.'],
|
21
|
+
[3, 'Modular', 'A factory built dwelling not on a permanent chassis.'],
|
22
|
+
[4, 'OnFrameModular', 'A factory built dwelling on a permanent chassis '+
|
23
|
+
'which does not have a HUD label.'],
|
24
|
+
[5, 'Other', ''],
|
25
|
+
[6, 'SiteBuilt', 'Describes construction process, indicating that most '+
|
26
|
+
'elements are created at the homes permanent site. May include some '+
|
27
|
+
'prefabricated components.']
|
28
|
+
|
29
|
+
].each { |id, entry, desc| create(id: id,
|
30
|
+
name: entry,
|
31
|
+
description: desc) }
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# app/models/mismo_enum/definition_of_value_type.rb
|
2
|
+
# enum
|
3
|
+
|
4
|
+
class MismoEnum::DefinitionOfValueType < MismoEnum::Base
|
5
|
+
validates_presence_of :name
|
6
|
+
validates_uniqueness_of :name
|
7
|
+
|
8
|
+
def self.description
|
9
|
+
'Indicates the type of value used for this collateral valuation product'
|
10
|
+
end
|
11
|
+
|
12
|
+
def self.seed
|
13
|
+
[[1, 'AsIsValue', ''],
|
14
|
+
[2, 'AsRepaired', ''],
|
15
|
+
[3, 'ForecastValue', 'The anticipated selling price of a property as of a'+
|
16
|
+
' defined time-period or date.'],
|
17
|
+
[4, 'MarketValue', ''],
|
18
|
+
[5, 'Other', ''],
|
19
|
+
[6, 'QuickSaleValue', ''],
|
20
|
+
[7, 'RetrospectiveValue', '']
|
21
|
+
].each { |id, entry, desc| create(id: id,
|
22
|
+
name: entry,
|
23
|
+
description: desc) }
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# app/models/mismo_enum/foreclosure_status_type.rb
|
2
|
+
# enum
|
3
|
+
|
4
|
+
class MismoEnum::ForeclosureStatusType < MismoEnum::Base
|
5
|
+
validates_presence_of :name
|
6
|
+
validates_uniqueness_of :name
|
7
|
+
|
8
|
+
def self.description
|
9
|
+
'Indicates the most recent step in the foreclosure proceedings.'
|
10
|
+
end
|
11
|
+
|
12
|
+
def self.seed
|
13
|
+
[[1, 'BreachNoticeSent', 'Breach letter has been sent to the borrower.'],
|
14
|
+
[2, 'DeedInLieuCompleted', ''],
|
15
|
+
[3, 'DeedInLeiuStarted', ''],
|
16
|
+
[4, 'EvictionInProcess', 'Foreclosure sale has occurred and borrower\'s '+
|
17
|
+
'redemption period (if applicable) has expired and eviction '+
|
18
|
+
'proceedings are underway.'],
|
19
|
+
[5, 'FirstLegalActionToCommenceForeclosure', ''],
|
20
|
+
[6, 'Foreclosure Completed', ''],
|
21
|
+
[7, 'Foreclosure Dismissed', ''],
|
22
|
+
[8, 'ForeclosurePublicationCommenced', ''],
|
23
|
+
[9, 'ForeclosureSaleConfirmed', ''],
|
24
|
+
[10, 'ForeclosureSaleContinued', ''],
|
25
|
+
[11, 'ForeclosureSaleHeld', ''],
|
26
|
+
[12, 'ForeclosureSaleScheduled', 'Foreclosure sale has been scheduled'],
|
27
|
+
[13, 'FormalNoticeFiled', 'Foreclosure legal action has been initiated by'+
|
28
|
+
' the servicer.'],
|
29
|
+
[14, 'InRedemptionPeriod', 'Currently within the state\'s forclosure law '+
|
30
|
+
'redemption period']
|
31
|
+
].each { |id, entry, desc| create(id: id,
|
32
|
+
name: entry,
|
33
|
+
description: desc) }
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# app/models/mismo_enum/gender_type.rb
|
2
|
+
# enum
|
3
|
+
|
4
|
+
class MismoEnum::GenderType < MismoEnum::Base
|
5
|
+
validates_presence_of :name
|
6
|
+
validates_uniqueness_of :name
|
7
|
+
|
8
|
+
def self.description
|
9
|
+
'The borrowers or interviewers statement about the borrowers gender.'
|
10
|
+
end
|
11
|
+
|
12
|
+
def self.seed
|
13
|
+
[[1, 'Female', ''],
|
14
|
+
[2, 'InformationNotProvidedUnknown', ''],
|
15
|
+
[3, 'Male', ''],
|
16
|
+
[4, 'NotApplicable', '']
|
17
|
+
].each { |id, entry, desc| create(id: id,
|
18
|
+
name: entry,
|
19
|
+
description: desc) }
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,140 @@
|
|
1
|
+
# app/models/mismo_enum/index_source_type.rb
|
2
|
+
# enum
|
3
|
+
|
4
|
+
class MismoEnum::IndexSourceType < MismoEnum::Base
|
5
|
+
validates_presence_of :name
|
6
|
+
validates_uniqueness_of :name
|
7
|
+
|
8
|
+
def self.description
|
9
|
+
'Specifies the type and source of index to be used to determine the '+
|
10
|
+
'interest rate at each adjustment'
|
11
|
+
end
|
12
|
+
|
13
|
+
def self.seed
|
14
|
+
[[1, 'FHLBEleventhDistrictMonthlyCostOfFundsIndex', 'The monthly weighted '+
|
15
|
+
'average cost of savings, borrowings, and advances of members of '+
|
16
|
+
'the Federal Home Loan Bank of San Francisco (the Bank), as made '+
|
17
|
+
'available by the Bank.'],
|
18
|
+
[2, 'LIBOROneMonthWSJ25thDayOfMonth', 'The average of interbank offered '+
|
19
|
+
'rates for one month U.S. dollar-denominated deposits in the London'+
|
20
|
+
' market (LIBOR), as published in the Wall Street Journal on the '+
|
21
|
+
'25th day of each month.'],
|
22
|
+
[3, 'LIBOROneMonthWSJ25thDayOfMonthOrNextBusinessDay', 'The average of '+
|
23
|
+
'interbank offered rates for one month U.S. dollar-denominated '+
|
24
|
+
'deposits in the London market (LIBOR), as published in the Wall '+
|
25
|
+
'Street Journal on the 25th day of each month (or next business day'+
|
26
|
+
' after the 25th day of the month if the 25th falls on a holiday or'+
|
27
|
+
' weekend).'],
|
28
|
+
[4, 'LIBOROneMonthWSJDaily', 'The average of interbank offered rates for '+
|
29
|
+
'one month U.S. dollar-denominated deposits in the London market '+
|
30
|
+
'(LIBOR), as published in the Wall Street Journal.'],
|
31
|
+
[5, 'LIBOROneMonthWSJFifteenthDayOfMonth', 'The average of interbank '+
|
32
|
+
'offered rates for one month U.S. dollar-denominated deposits in '+
|
33
|
+
'the London market (LIBOR), as published in the Wall Street Journal'+
|
34
|
+
' on the 15th day of each month.'],
|
35
|
+
[6, 'LIBOROneMonthWSJFifteenthDayOfMonthOrNextBusinessDay', 'The average '+
|
36
|
+
'of interbank offered rates for one month U.S. dollar-denominated '+
|
37
|
+
'deposits in the London market (LIBOR), as published in the Wall '+
|
38
|
+
'Street Journal on the 15th day of each month (or next business day'+
|
39
|
+
' after the 15th day of the month if the 15th falls on a holiday or'+
|
40
|
+
' weekend).'],
|
41
|
+
[7, 'LIBOROneYearWSJDaily', 'The average of interbank offered rates for '+
|
42
|
+
'one year U.S. dollar-denominated deposits in the London market '+
|
43
|
+
'(LIBOR), as published in the Wall Street Journal.'],
|
44
|
+
[8, 'LIBORSixMonthWSJ25thDayOfMonth', 'The average of interbank offered '+
|
45
|
+
'rates for six month U.S. dollar-denominated deposits in the London'+
|
46
|
+
' market (LIBOR), as published in the Wall Street Journal on the '+
|
47
|
+
'25th day of each month.'],
|
48
|
+
[9, 'LIBORSixMonthWSJ25thDayOfMonthOrNextBusinessDay', 'The average of '+
|
49
|
+
'interbank offered rates for six month U.S. dollar-denominated '+
|
50
|
+
'deposits in the London market (LIBOR), as published in the Wall '+
|
51
|
+
'Street Journal on the 25th day of each month (or next business day'+
|
52
|
+
' after the 25th day of the month if the 25th falls on a holiday or'+
|
53
|
+
' weekend).'],
|
54
|
+
[10, 'LIBORSixMonthWSJFifteenthDayOfMonth', 'The average of interbank '+
|
55
|
+
'offered rates for six month U.S. dollar-denominated deposits in '+
|
56
|
+
'the London market (LIBOR), as published in the Wall Street '+
|
57
|
+
'Journal on the 15th day of each month.'],
|
58
|
+
[11, 'LIBORSixMonthWSJFifteenthDayOfMonthOrNextBusinessDay', ' The '+
|
59
|
+
'average of interbank offered rates for six month U.S. '+
|
60
|
+
'dollar-denominated deposits in the London market (LIBOR), as '+
|
61
|
+
'published in the Wall Street Journal on the 15th day of each '+
|
62
|
+
'month (or next business day after the 15th day of the month if '+
|
63
|
+
'the 15th falls on a holiday or weekend).'],
|
64
|
+
[12, 'LIBORSixMonthWSJLastBusinessDayOfMonth', 'The average of interbank '+
|
65
|
+
'offered rates for six month U.S. dollar-denominated deposits in '+
|
66
|
+
'the London market (LIBOR), as published in the Wall Street Journal '+
|
67
|
+
'on the last business day of the month.'],
|
68
|
+
[13, 'MonthlyFiveYearTreasurySecuritiesConstantMaturityFRBH15', 'The '+
|
69
|
+
'monthly average yield on United States Treasury securities '+
|
70
|
+
'adjusted to constant maturity of five years, as made available by'+
|
71
|
+
' the Federal Reserve Board.'],
|
72
|
+
[14, 'MonthlyOneYearTreasurySecuritiesConstantMaturityFRBH15', 'The '+
|
73
|
+
'monthly average yield on United States Treasury securities '+
|
74
|
+
'adjusted to constant maturity of one year, as made available by '+
|
75
|
+
'the Federal Reserve Board.'],
|
76
|
+
[15, 'MonthlyThreeYearTreasurySecuritiesConstantMaturityFRBH15', 'The '+
|
77
|
+
'monthly average yield on United States Treasury securities '+
|
78
|
+
'adjusted to constant maturity of three years, as made available '+
|
79
|
+
'by the Federal Reserve Board.'],
|
80
|
+
[16, 'NationalAverageContractMortgageRate', 'The National Average '+
|
81
|
+
'Contract Mortgage Rate, as derived from the Federal Housing '+
|
82
|
+
'Finance Board monthly interest rate survey (MIRS).'],
|
83
|
+
[17, 'Other', ''],
|
84
|
+
[18, 'PrimeRateWSJEffectiveDate', 'The Prime Rate (effective as of the '+
|
85
|
+
'published Effective Date) as published in the Money Rates '+
|
86
|
+
'section of the Wall Street Journal.'],
|
87
|
+
[19, 'PrimeRateWSJPublicationDate', 'The Prime Rate as published in the '+
|
88
|
+
'Money Rates section of the Wall Street Journal.'],
|
89
|
+
[20, 'SixMonthLIBOR_WSJDaily', 'The average of the interbank offered '+
|
90
|
+
'rates for six months U.S. dollar-denominated deposits in the '+
|
91
|
+
'London market (LIBOR), as published in the Wall Street Journal.'],
|
92
|
+
[21, 'SixMonthLIBOR_WSJFirstBusinessDayOfTheMonth', 'The average of the '+
|
93
|
+
'interbank offered rates for six months U.S. dollar-denominated '+
|
94
|
+
'deposits in the London market (LIBOR), as published in the Wall '+
|
95
|
+
'Street Journal. The most recent index figure available as of the '+
|
96
|
+
'first business day of the month immediately preceding the month '+
|
97
|
+
'in which the Change Date occurs is the Current Index.'],
|
98
|
+
[22, 'SixMonthUSTBillMonthlyAuctionDiscountRateCalculated', 'The twelve '+
|
99
|
+
'(12) month average of the monthly auction average (discount rate)'+
|
100
|
+
' on United States Treasury bills with a maturity of six months '+
|
101
|
+
'[or twenty-six weeks], as made available by the Federal Reserve '+
|
102
|
+
'Board'],
|
103
|
+
[23, 'SixMonthUSTBillMonthlyAuctionInvestmentYieldCalculated', 'The '+
|
104
|
+
'monthly auction average (investment yield) on United States '+
|
105
|
+
'Treasury bills with a maturity of six months [or twenty-six '+
|
106
|
+
'weeks], as made available by the Federal Reserve Board.'],
|
107
|
+
[24, 'SixMonthUSTBillWeeklyAuctionDiscountRateUST', 'The weekly auction '+
|
108
|
+
'average (discount rate) on United States Treasury bills with a '+
|
109
|
+
'maturity of six months [or twenty-six weeks], as made available '+
|
110
|
+
'by the U.S. Treasury after the sale of these securities.'],
|
111
|
+
[25, 'SixMonthUSTBillWeeklyAuctionInvestmentYieldUST', 'The weekly '+
|
112
|
+
'auction average (investment yield) on United States Treasury '+
|
113
|
+
'bills with a maturity of six months [or twenty-six weeks], as '+
|
114
|
+
'made available by the U.S. Treasury after the sale of these '+
|
115
|
+
'securities.'],
|
116
|
+
[26, 'WeeklyFiveYearTreasurySecuritiesConstantMaturityFRBH15', 'The '+
|
117
|
+
'weekly average yield on United States Treasury securities '+
|
118
|
+
'adjusted to constant maturity of five years, as made available '+
|
119
|
+
'by the Federal Reserve Board.'],
|
120
|
+
[27, 'WeeklyOneYearTreasurySecuritiesConstantMaturityFRBH15', 'The '+
|
121
|
+
'weekly average yield on United States Treasury securities '+
|
122
|
+
'adjusted to constant maturity of one year, as made available by '+
|
123
|
+
'the Federal Reserve Board.'],
|
124
|
+
[28, 'WeeklySixMonthCertificateOfDepositSecondaryMarketFRBH15', 'The '+
|
125
|
+
'weekly average yield of the secondary market interest rates on '+
|
126
|
+
'six-month negotiable certificates of deposit, as made by the '+
|
127
|
+
'Federal Reserve Board.'],
|
128
|
+
[29, 'WeeklyTenYearTreasurySecuritiesConstantMaturityFRBH15', 'The weekly'+
|
129
|
+
' average yield on United States Treasury securities adjusted to '+
|
130
|
+
'constant maturity of ten years, as made available by the Federal '+
|
131
|
+
'Reserve Board.'],
|
132
|
+
[30, 'WeeklyThreeYearTreasurySecuritiesConstantMaturityFRBH15', 'The '+
|
133
|
+
'weekly average yield on United States Treasury securities '+
|
134
|
+
'adjusted to constant maturity of three years, as made available '+
|
135
|
+
'by the Federal Reserve Board.']
|
136
|
+
].each { |id, entry, desc| create(id: id,
|
137
|
+
name: entry,
|
138
|
+
description: desc) }
|
139
|
+
end
|
140
|
+
end
|