Class: CybridApiBank::VerificationCheckTypeBankModel
- Inherits:
-
Object
- Object
- CybridApiBank::VerificationCheckTypeBankModel
- Defined in:
- lib/cybrid_api_bank_ruby/models/verification_check_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
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
32 33 34 |
# File 'lib/cybrid_api_bank_ruby/models/verification_check_type_bank_model.rb', line 32 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
39 40 41 42 43 |
# File 'lib/cybrid_api_bank_ruby/models/verification_check_type_bank_model.rb', line 39 def build_from_hash(value) constantValues = VerificationCheckTypeBankModel.constants.select { |c| VerificationCheckTypeBankModel::const_get(c) == value } raise "Invalid ENUM value #{value} for class #VerificationCheckTypeBankModel" if constantValues.empty? value end |