Class: ThePlaidApi::FlowType
- Inherits:
-
Object
- Object
- ThePlaidApi::FlowType
- Defined in:
- lib/the_plaid_api/models/flow_type.rb
Overview
This field has been deprecated in favor of ‘auth_type_select_enabled`.
Constant Summary collapse
- FLOW_TYPE =
[ # TODO: Write general description for FLEXIBLE_AUTH FLEXIBLE_AUTH = 'FLEXIBLE_AUTH'.freeze ].freeze
Class Method Summary collapse
Class Method Details
.from_value(value, default_value = FLEXIBLE_AUTH) ⇒ Object
20 21 22 23 24 |
# File 'lib/the_plaid_api/models/flow_type.rb', line 20 def self.from_value(value, default_value = FLEXIBLE_AUTH) return default_value if value.nil? default_value end |
.validate(value) ⇒ Object
14 15 16 17 18 |
# File 'lib/the_plaid_api/models/flow_type.rb', line 14 def self.validate(value) return false if value.nil? FLOW_TYPE.include?(value) end |