Class: Plaid::ConsentEventType
- Inherits:
-
Object
- Object
- Plaid::ConsentEventType
- Defined in:
- lib/plaid/models/consent_event_type.rb
Constant Summary collapse
- GRANTED =
"CONSENT_GRANTED".freeze
- REVOKED =
"CONSENT_REVOKED".freeze
- UPDATED =
"CONSENT_UPDATED".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
25 26 27 |
# File 'lib/plaid/models/consent_event_type.rb', line 25 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
32 33 34 35 36 37 |
# File 'lib/plaid/models/consent_event_type.rb', line 32 def build_from_hash(value) # We do not validate that the value is one of the enums set in the OpenAPI # file because we want to be able to add to our list of enums without # breaking this client library. value end |