Module: Pago::V2026_04::Enums::LicenseKeyStatus
- Defined in:
- lib/pago/v2026_04/enums.rb,
sig/pago/v2026_04/generated.rbs
Constant Summary collapse
- GRANTED =
"granted"- REVOKED =
"revoked"- DISABLED =
"disabled"- ALL_VALUES =
[ GRANTED, REVOKED, DISABLED ].freeze
Class Method Summary collapse
-
.valid?(value) ⇒ Boolean
Whether the value is declared by this API version.
-
.values ⇒ Array<String>
Every value declared by the API.
Class Method Details
.valid?(value) ⇒ Boolean
Returns whether the value is declared by this API version.
1889 |
# File 'lib/pago/v2026_04/enums.rb', line 1889 def self.valid?(value) = ALL_VALUES.include?(value) |
.values ⇒ Array<String>
Returns every value declared by the API.
1885 |
# File 'lib/pago/v2026_04/enums.rb', line 1885 def self.values = ALL_VALUES |