Class: Wallee::DebtCollectionCaseState
- Inherits:
-
Object
- Object
- Wallee::DebtCollectionCaseState
- Defined in:
- lib/wallee-ruby-sdk/models/debt_collection_case_state.rb
Constant Summary collapse
- CREATE =
'CREATE'.freeze
- PREPARING =
'PREPARING'.freeze
- REVIEWING =
'REVIEWING'.freeze
- PENDING =
'PENDING'.freeze
- PROCESSING =
'PROCESSING'.freeze
- CLOSED =
'CLOSED'.freeze
- FAILED =
'FAILED'.freeze
Instance Method Summary collapse
-
#build_from_hash(value) ⇒ String
Builds the enum from string.
Instance Method Details
#build_from_hash(value) ⇒ String
Builds the enum from string
34 35 36 37 38 |
# File 'lib/wallee-ruby-sdk/models/debt_collection_case_state.rb', line 34 def build_from_hash(value) constantValues = DebtCollectionCaseState.constants.select { |c| DebtCollectionCaseState::const_get(c) == value } raise "Invalid ENUM value #{value} for class #DebtCollectionCaseState" if constantValues.empty? value end |