Module: Pago::V2026_04::Enums::BenefitSortProperty
- Defined in:
- lib/pago/v2026_04/enums.rb,
sig/pago/v2026_04/generated.rbs
Constant Summary collapse
- CREATED_AT =
"created_at"- V_CREATED_AT =
"-created_at"- DESCRIPTION =
"description"- V_DESCRIPTION =
"-description"- TYPE =
"type"- V_TYPE =
"-type"- USER_ORDER =
"user_order"- V_USER_ORDER =
"-user_order"- ALL_VALUES =
[ CREATED_AT, V_CREATED_AT, DESCRIPTION, V_DESCRIPTION, TYPE, V_TYPE, USER_ORDER, V_USER_ORDER ].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.
86 |
# File 'lib/pago/v2026_04/enums.rb', line 86 def self.valid?(value) = ALL_VALUES.include?(value) |
.values ⇒ Array<String>
Returns every value declared by the API.
82 |
# File 'lib/pago/v2026_04/enums.rb', line 82 def self.values = ALL_VALUES |