Class: TransferZero::PayinMethodUxFlow
- Inherits:
-
Object
- Object
- TransferZero::PayinMethodUxFlow
- Defined in:
- lib/transferzero-sdk/models/payin_method_ux_flow.rb
Constant Summary collapse
- USSD_POPUP =
"ussd_popup".freeze
- BANK_TRANSFER =
"bank_transfer".freeze
- HTTP_REDIRECT =
"http_redirect".freeze
- BLOCKCHAIN =
"blockchain".freeze
- UNKNOWN =
"unknown".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
27 28 29 30 31 |
# File 'lib/transferzero-sdk/models/payin_method_ux_flow.rb', line 27 def build_from_hash(value) constantValues = .constants.select { |c| ::const_get(c) == value } raise "Invalid ENUM value #{value} for class #PayinMethodUxFlow" if constantValues.empty? && !value.empty? value end |