Module: Pago::V2026_04::Enums::RecurringInterval
- Defined in:
- lib/pago/v2026_04/enums.rb,
sig/pago/v2026_04/generated.rbs
Constant Summary collapse
- DAY =
"day"- WEEK =
"week"- MONTH =
"month"- YEAR =
"year"- ALL_VALUES =
[ DAY, WEEK, MONTH, YEAR ].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.
2701 |
# File 'lib/pago/v2026_04/enums.rb', line 2701 def self.valid?(value) = ALL_VALUES.include?(value) |
.values ⇒ Array<String>
Returns every value declared by the API.
2697 |
# File 'lib/pago/v2026_04/enums.rb', line 2697 def self.values = ALL_VALUES |