Class: CybridApiBank::ComplianceDecisionTypeBankModel
- Inherits:
-
Object
- Object
- CybridApiBank::ComplianceDecisionTypeBankModel
- Defined in:
- lib/cybrid_api_bank_ruby/models/compliance_decision_type_bank_model.rb
Constant Summary collapse
- BUSINESS_WATCHLISTS =
"business_watchlists".freeze
- BUSINESS_VERIFICATION =
"business_verification".freeze
- BUSINESS_TAX_ID_VERIFICATION =
"business_tax_id_verification".freeze
- PERSON_ATTESTED =
"person_attested".freeze
- PERSON_TAX_ID_ATTESTED =
"person_tax_id_attested".freeze
- PERSON_WATCHLISTS =
"person_watchlists".freeze
- PERSON_VERIFICATION =
"person_verification".freeze
- PERSON_AUTHENTICATION =
"person_authentication".freeze
- PERSON_GOV_ID_VERIFICATION =
"person_gov_id_verification".freeze
- PERSON_TAX_ID_VERIFICATION =
"person_tax_id_verification".freeze
- EXTERNAL_BANK_ACCOUNT_VERIFICATION =
"external_bank_account_verification".freeze
- EXTERNAL_BANK_ACCOUNT_ATTESTED =
"external_bank_account_attested".freeze
Class Method Summary collapse
-
.build_from_hash(value) ⇒ String
Builds the enum from string.
Instance Method Summary collapse
-
#build_from_hash(value) ⇒ String
Builds the enum from string.
Class Method Details
.build_from_hash(value) ⇒ String
Builds the enum from string
34 35 36 |
# File 'lib/cybrid_api_bank_ruby/models/compliance_decision_type_bank_model.rb', line 34 def self.build_from_hash(value) new.build_from_hash(value) end |
Instance Method Details
#build_from_hash(value) ⇒ String
Builds the enum from string
41 42 43 44 45 |
# File 'lib/cybrid_api_bank_ruby/models/compliance_decision_type_bank_model.rb', line 41 def build_from_hash(value) constantValues = ComplianceDecisionTypeBankModel.constants.select { |c| ComplianceDecisionTypeBankModel::const_get(c) == value } raise "Invalid ENUM value #{value} for class #ComplianceDecisionTypeBankModel" if constantValues.empty? value end |