growsurf-ruby 1.19.0 → 1.20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cb5322069ad1249eb6561ab8e6f74be6aa5207eab5e2d6144a6359cf8290b0e1
4
- data.tar.gz: 9147161a1a6ee5e78d08797615c432daa5296b79eeccb8aa9f29078819217ef7
3
+ metadata.gz: 148935e17b06dbe8a02495ef2fc0975d50a7c129338f3b40373523241deb5a65
4
+ data.tar.gz: 4e717289d0284d6938f7f5aa9bfa06473ccb8f99d550d9c8ccf1ba326b171d9a
5
5
  SHA512:
6
- metadata.gz: b587eab078cbc2565a6a5102977b72b2ae92c024c1d95767d88a3162eafc949a01137041ea2ed9e2acb18662f50fd98d2cc58d57fe085c7ae6175a647fa89863
7
- data.tar.gz: e4b2f0e1a31dd8555295cb55b241c135cb528c440c02f15b2311016166afbcd5643a974c3429878427883bd5483ef857213779c64561280c576c6548163c14b3
6
+ metadata.gz: 40c9a940e10974af9aceea6783fa4ae1c566f0570b571e63c61dea60c3078102df6ce65c00970c560be6dfe217e857cdd49ae5872f6e0894ec1679487f8362b0
7
+ data.tar.gz: 9e2d350314eb9890790fbca44cf0d6a2432a8a21d3f0fc491f6c2c56dc8868308c1725e3b69a37f57c247e8df949ee2244911757c30b07cf499f1f15fd39e83a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.20.1](https://github.com/growsurf/growsurf-ruby/compare/v1.20.0...v1.20.1) (2026-11-08)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * load CGI parser for Ruby 4 client initialization ([e426967](https://github.com/growsurf/growsurf-ruby/commit/e4269674a7e62d7f952343adc43d8653adc4a40f))
9
+ * patch Active Support security advisories ([7c009af](https://github.com/growsurf/growsurf-ruby/commit/7c009afb60b209e16902feda3cdca90681bf8f38))
10
+ * preserve gem paths in fresh-process client test ([9bca655](https://github.com/growsurf/growsurf-ruby/commit/9bca6551092dc08df99b0fd2af6a4153be289a20))
11
+
12
+ ## [1.20.0](https://github.com/growsurf/growsurf-ruby/compare/v1.19.0...v1.20.0) (2026-11-04)
13
+
14
+
15
+ ### Features
16
+
17
+ * add reward amountSource and percentOff, and zh-TW and es-419 languages ([7601d49](https://github.com/growsurf/growsurf-ruby/commit/7601d499c93eac3c3b2e08da34af327da28e5009))
18
+ * add reward amountSource and percentOff, and zh-TW and es-419 languages ([9177434](https://github.com/growsurf/growsurf-ruby/commit/91774347a437eba38d35d031eec687d1fa0f5c1b))
19
+
3
20
  ## [1.19.0](https://github.com/growsurf/growsurf-ruby/compare/v1.18.0...v1.19.0) (2026-11-03)
4
21
 
5
22
 
data/README.md CHANGED
@@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application
17
17
  <!-- x-release-please-start-version -->
18
18
 
19
19
  ```ruby
20
- gem "growsurf-ruby", "~> 1.19.0"
20
+ gem "growsurf-ruby", "~> 1.20.1"
21
21
  ```
22
22
 
23
23
  <!-- x-release-please-end -->
@@ -36,7 +36,7 @@ module GrowsurfRuby
36
36
  # @!attribute language
37
37
  # The language of the participant's portal and program emails. Stored when it is
38
38
  # one of the program's languages. A regional tag maps to its language (for
39
- # example, `es-MX` is stored as `es`). Any other value is ignored and the
39
+ # example, `fr-BE` is stored as `fr`). Any other value is ignored and the
40
40
  # program's base language applies. Applied only when this request creates the
41
41
  # participant.
42
42
  #
@@ -47,6 +47,8 @@ module GrowsurfRuby
47
47
  FIL = :fil
48
48
  AF = :af
49
49
  SW = :sw
50
+ ZH_TW = :"zh-TW"
51
+ ES_419 = :"es-419"
50
52
 
51
53
  # @!method self.values
52
54
  # @return [Array<Symbol>]
@@ -34,6 +34,16 @@ module GrowsurfRuby
34
34
  # @return [Float, nil]
35
35
  optional :amount, Float, nil?: true
36
36
 
37
+ # @!attribute amount_source
38
+ # Where `amount` or `percent_off` comes from. `METADATA` means the amount saved
39
+ # when the reward was earned.
40
+ #
41
+ # @return [Symbol, GrowsurfRuby::Models::Campaign::ParticipantReward::AmountSource, nil]
42
+ optional :amount_source,
43
+ enum: -> { GrowsurfRuby::Campaign::ParticipantReward::AmountSource },
44
+ api_name: :amountSource,
45
+ nil?: true
46
+
37
47
  # @!attribute commission_structure
38
48
  #
39
49
  # @return [GrowsurfRuby::Models::CommissionStructure, nil]
@@ -67,6 +77,12 @@ module GrowsurfRuby
67
77
  # @return [Boolean, nil]
68
78
  optional :is_referrer, GrowsurfRuby::Internal::Type::Boolean, api_name: :isReferrer
69
79
 
80
+ # @!attribute percent_off
81
+ # Discount of a percent-off coupon (`20` = 20% off); `nil` for every other reward.
82
+ #
83
+ # @return [Float, nil]
84
+ optional :percent_off, Float, api_name: :percentOff, nil?: true
85
+
70
86
  # @!attribute referred_id
71
87
  #
72
88
  # @return [String, nil]
@@ -82,23 +98,44 @@ module GrowsurfRuby
82
98
  # @return [Boolean, nil]
83
99
  optional :unread, GrowsurfRuby::Internal::Type::Boolean
84
100
 
85
- # @!method initialize(id:, reward_id:, status:, approved: nil, approved_at: nil, amount: nil, commission_structure: nil, currency_iso: nil, fulfilled_at: nil, is_available: nil, is_fulfilled: nil, is_referrer: nil, referred_id: nil, referrer_id: nil, unread: nil)
101
+ # @!method initialize(id:, reward_id:, status:, approved: nil, approved_at: nil, amount: nil, amount_source: nil, commission_structure: nil, currency_iso: nil, fulfilled_at: nil, is_available: nil, is_fulfilled: nil, is_referrer: nil, percent_off: nil, referred_id: nil, referrer_id: nil, unread: nil)
86
102
  # @param id [String]
87
103
  # @param reward_id [String]
88
104
  # @param status [Symbol, GrowsurfRuby::Models::Campaign::ParticipantReward::Status]
89
105
  # @param approved [Boolean]
90
106
  # @param approved_at [Integer]
91
107
  # @param amount [Float]
108
+ # @param amount_source [Symbol, GrowsurfRuby::Models::Campaign::ParticipantReward::AmountSource, nil]
92
109
  # @param commission_structure [GrowsurfRuby::Models::CommissionStructure, nil]
93
110
  # @param currency_iso [String]
94
111
  # @param fulfilled_at [Integer]
95
112
  # @param is_available [Boolean]
96
113
  # @param is_fulfilled [Boolean]
97
114
  # @param is_referrer [Boolean]
115
+ # @param percent_off [Float]
98
116
  # @param referred_id [String]
99
117
  # @param referrer_id [String]
100
118
  # @param unread [Boolean]
101
119
 
120
+ # @see GrowsurfRuby::Models::Campaign::ParticipantReward#amount_source
121
+ module AmountSource
122
+ extend GrowsurfRuby::Internal::Type::Enum
123
+
124
+ STRIPE = :STRIPE
125
+ CHARGEBEE = :CHARGEBEE
126
+ RECURLY = :RECURLY
127
+ CHARGIFY = :CHARGIFY
128
+ PAYPAL = :PAYPAL
129
+ VENMO = :VENMO
130
+ TANGO_CARD = :TANGO_CARD
131
+ TREMENDOUS = :TREMENDOUS
132
+ XTRM = :XTRM
133
+ METADATA = :METADATA
134
+
135
+ # @!method self.values
136
+ # @return [Array<Symbol>]
137
+ end
138
+
102
139
  # @see GrowsurfRuby::Models::Campaign::ParticipantReward#status
103
140
  module Status
104
141
  extend GrowsurfRuby::Internal::Type::Enum
@@ -172,7 +172,7 @@ module GrowsurfRuby
172
172
  #
173
173
  # @param is_affiliate [Boolean] Affiliate programs only. Controls affiliate enrollment for a new participant. `true` enrolls the participant with `affiliateStatus: APPROVED`; `false` creates a non-affiliate without `affiliateStatus`. Existing participants are returned unchanged.
174
174
  #
175
- # @param language [Symbol, GrowsurfRuby::Models::Campaign::Language] The language of the participant's portal and program emails. Stored when it is one of the program's languages. A regional tag maps to its language (for example, `es-MX` is stored as `es`). Any other value is ignored and the program's base language applies. Applied only when this request creates the participant.
175
+ # @param language [Symbol, GrowsurfRuby::Models::Campaign::Language] The language of the participant's portal and program emails. Stored when it is one of the program's languages. A regional tag maps to its language (for example, `fr-BE` is stored as `fr`). Any other value is ignored and the program's base language applies. Applied only when this request creates the participant.
176
176
  #
177
177
  # @param last_name [String]
178
178
  #
@@ -255,7 +255,7 @@ module GrowsurfRuby
255
255
  #
256
256
  # @param ip_address [String]
257
257
  #
258
- # @param language [Symbol, GrowsurfRuby::Models::Campaign::Language] The language of the participant's portal and program emails. Stored when it is one of the program's languages. A regional tag maps to its language (for example, `es-MX` is stored as `es`). Any other value is ignored and the program's base language applies. Applied only when this request creates the participant.
258
+ # @param language [Symbol, GrowsurfRuby::Models::Campaign::Language] The language of the participant's portal and program emails. Stored when it is one of the program's languages. A regional tag maps to its language (for example, `fr-BE` is stored as `fr`). Any other value is ignored and the program's base language applies. Applied only when this request creates the participant.
259
259
  #
260
260
  # @param last_name [String]
261
261
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GrowsurfRuby
4
- VERSION = "1.19.0"
4
+ VERSION = "1.20.1"
5
5
  end
data/lib/growsurf_ruby.rb CHANGED
@@ -5,6 +5,7 @@
5
5
  require "English"
6
6
  require "base64"
7
7
  require "cgi"
8
+ require "cgi/core" # Ruby 4's cgi compatibility shim does not load CGI.parse.
8
9
  require "date"
9
10
  require "erb"
10
11
  require "etc"
@@ -45,7 +45,7 @@ module GrowsurfRuby
45
45
 
46
46
  # The language of the participant's portal and program emails. Stored when it is
47
47
  # one of the program's languages. A regional tag maps to its language (for
48
- # example, `es-MX` is stored as `es`). Any other value is ignored and the
48
+ # example, `fr-BE` is stored as `fr`). Any other value is ignored and the
49
49
  # program's base language applies. Applied only when this request creates the
50
50
  # participant.
51
51
  sig { returns(T.nilable(GrowsurfRuby::Campaign::Language::OrSymbol)) }
@@ -140,7 +140,7 @@ module GrowsurfRuby
140
140
  is_affiliate: nil,
141
141
  # The language of the participant's portal and program emails. Stored when it is
142
142
  # one of the program's languages. A regional tag maps to its language (for
143
- # example, `es-MX` is stored as `es`). Any other value is ignored and the
143
+ # example, `fr-BE` is stored as `fr`). Any other value is ignored and the
144
144
  # program's base language applies. Applied only when this request creates the
145
145
  # participant.
146
146
  language: nil,
@@ -51,6 +51,8 @@ module GrowsurfRuby
51
51
  FIL = T.let(:fil, GrowsurfRuby::Campaign::Language::TaggedSymbol)
52
52
  AF = T.let(:af, GrowsurfRuby::Campaign::Language::TaggedSymbol)
53
53
  SW = T.let(:sw, GrowsurfRuby::Campaign::Language::TaggedSymbol)
54
+ ZH_TW = T.let(:"zh-TW", GrowsurfRuby::Campaign::Language::TaggedSymbol)
55
+ ES_419 = T.let(:"es-419", GrowsurfRuby::Campaign::Language::TaggedSymbol)
54
56
 
55
57
  sig do
56
58
  override.returns(
@@ -43,6 +43,17 @@ module GrowsurfRuby
43
43
  sig { params(amount: T.nilable(Float)).void }
44
44
  attr_writer :amount
45
45
 
46
+ # Where `amount` or `percent_off` comes from. `METADATA` means the amount saved
47
+ # when the reward was earned.
48
+ sig do
49
+ returns(
50
+ T.nilable(
51
+ GrowsurfRuby::Campaign::ParticipantReward::AmountSource::TaggedSymbol
52
+ )
53
+ )
54
+ end
55
+ attr_accessor :amount_source
56
+
46
57
  sig { returns(T.nilable(GrowsurfRuby::CommissionStructure)) }
47
58
  attr_reader :commission_structure
48
59
 
@@ -84,6 +95,13 @@ module GrowsurfRuby
84
95
  sig { params(is_referrer: T::Boolean).void }
85
96
  attr_writer :is_referrer
86
97
 
98
+ # Discount of a percent-off coupon (`20` = 20% off); `nil` for every other reward.
99
+ sig { returns(T.nilable(Float)) }
100
+ attr_reader :percent_off
101
+
102
+ sig { params(percent_off: T.nilable(Float)).void }
103
+ attr_writer :percent_off
104
+
87
105
  sig { returns(T.nilable(String)) }
88
106
  attr_reader :referred_id
89
107
 
@@ -110,6 +128,10 @@ module GrowsurfRuby
110
128
  approved: T::Boolean,
111
129
  approved_at: T.nilable(Integer),
112
130
  amount: T.nilable(Float),
131
+ amount_source:
132
+ T.nilable(
133
+ GrowsurfRuby::Campaign::ParticipantReward::AmountSource::OrSymbol
134
+ ),
113
135
  commission_structure:
114
136
  T.nilable(GrowsurfRuby::CommissionStructure::OrHash),
115
137
  currency_iso: T.nilable(String),
@@ -117,6 +139,7 @@ module GrowsurfRuby
117
139
  is_available: T::Boolean,
118
140
  is_fulfilled: T::Boolean,
119
141
  is_referrer: T::Boolean,
142
+ percent_off: T.nilable(Float),
120
143
  referred_id: String,
121
144
  referrer_id: String,
122
145
  unread: T::Boolean
@@ -129,12 +152,17 @@ module GrowsurfRuby
129
152
  approved: nil,
130
153
  approved_at: nil,
131
154
  amount: nil,
155
+ # Where `amount` or `percent_off` comes from. `METADATA` means the amount saved
156
+ # when the reward was earned.
157
+ amount_source: nil,
132
158
  commission_structure: nil,
133
159
  currency_iso: nil,
134
160
  fulfilled_at: nil,
135
161
  is_available: nil,
136
162
  is_fulfilled: nil,
137
163
  is_referrer: nil,
164
+ # Discount of a percent-off coupon (`20` = 20% off); `nil` for every other reward.
165
+ percent_off: nil,
138
166
  referred_id: nil,
139
167
  referrer_id: nil,
140
168
  unread: nil
@@ -151,6 +179,10 @@ module GrowsurfRuby
151
179
  approved: T::Boolean,
152
180
  approved_at: T.nilable(Integer),
153
181
  amount: T.nilable(Float),
182
+ amount_source:
183
+ T.nilable(
184
+ GrowsurfRuby::Campaign::ParticipantReward::AmountSource::TaggedSymbol
185
+ ),
154
186
  commission_structure:
155
187
  T.nilable(GrowsurfRuby::CommissionStructure),
156
188
  currency_iso: T.nilable(String),
@@ -158,6 +190,7 @@ module GrowsurfRuby
158
190
  is_available: T::Boolean,
159
191
  is_fulfilled: T::Boolean,
160
192
  is_referrer: T::Boolean,
193
+ percent_off: T.nilable(Float),
161
194
  referred_id: String,
162
195
  referrer_id: String,
163
196
  unread: T::Boolean
@@ -167,6 +200,80 @@ module GrowsurfRuby
167
200
  def to_hash
168
201
  end
169
202
 
203
+ module AmountSource
204
+ extend GrowsurfRuby::Internal::Type::Enum
205
+
206
+ TaggedSymbol =
207
+ T.type_alias do
208
+ T.all(
209
+ Symbol,
210
+ GrowsurfRuby::Campaign::ParticipantReward::AmountSource
211
+ )
212
+ end
213
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
214
+
215
+ STRIPE =
216
+ T.let(
217
+ :STRIPE,
218
+ GrowsurfRuby::Campaign::ParticipantReward::AmountSource::TaggedSymbol
219
+ )
220
+ CHARGEBEE =
221
+ T.let(
222
+ :CHARGEBEE,
223
+ GrowsurfRuby::Campaign::ParticipantReward::AmountSource::TaggedSymbol
224
+ )
225
+ RECURLY =
226
+ T.let(
227
+ :RECURLY,
228
+ GrowsurfRuby::Campaign::ParticipantReward::AmountSource::TaggedSymbol
229
+ )
230
+ CHARGIFY =
231
+ T.let(
232
+ :CHARGIFY,
233
+ GrowsurfRuby::Campaign::ParticipantReward::AmountSource::TaggedSymbol
234
+ )
235
+ PAYPAL =
236
+ T.let(
237
+ :PAYPAL,
238
+ GrowsurfRuby::Campaign::ParticipantReward::AmountSource::TaggedSymbol
239
+ )
240
+ VENMO =
241
+ T.let(
242
+ :VENMO,
243
+ GrowsurfRuby::Campaign::ParticipantReward::AmountSource::TaggedSymbol
244
+ )
245
+ TANGO_CARD =
246
+ T.let(
247
+ :TANGO_CARD,
248
+ GrowsurfRuby::Campaign::ParticipantReward::AmountSource::TaggedSymbol
249
+ )
250
+ TREMENDOUS =
251
+ T.let(
252
+ :TREMENDOUS,
253
+ GrowsurfRuby::Campaign::ParticipantReward::AmountSource::TaggedSymbol
254
+ )
255
+ XTRM =
256
+ T.let(
257
+ :XTRM,
258
+ GrowsurfRuby::Campaign::ParticipantReward::AmountSource::TaggedSymbol
259
+ )
260
+ METADATA =
261
+ T.let(
262
+ :METADATA,
263
+ GrowsurfRuby::Campaign::ParticipantReward::AmountSource::TaggedSymbol
264
+ )
265
+
266
+ sig do
267
+ override.returns(
268
+ T::Array[
269
+ GrowsurfRuby::Campaign::ParticipantReward::AmountSource::TaggedSymbol
270
+ ]
271
+ )
272
+ end
273
+ def self.values
274
+ end
275
+ end
276
+
170
277
  module Status
171
278
  extend GrowsurfRuby::Internal::Type::Enum
172
279
 
@@ -167,7 +167,7 @@ module GrowsurfRuby
167
167
  is_affiliate: nil,
168
168
  # The language of the participant's portal and program emails. Stored when it is
169
169
  # one of the program's languages. A regional tag maps to its language (for
170
- # example, `es-MX` is stored as `es`). Any other value is ignored and the
170
+ # example, `fr-BE` is stored as `fr`). Any other value is ignored and the
171
171
  # program's base language applies. Applied only when this request creates the
172
172
  # participant.
173
173
  language: nil,
@@ -239,7 +239,7 @@ module GrowsurfRuby
239
239
  ip_address: nil,
240
240
  # The language of the participant's portal and program emails. Stored when it is
241
241
  # one of the program's languages. A regional tag maps to its language (for
242
- # example, `es-MX` is stored as `es`). Any other value is ignored and the
242
+ # example, `fr-BE` is stored as `fr`). Any other value is ignored and the
243
243
  # program's base language applies. Applied only when this request creates the
244
244
  # participant.
245
245
  language: nil,
@@ -41,6 +41,8 @@ module GrowsurfRuby
41
41
  | :fil
42
42
  | :af
43
43
  | :sw
44
+ | :"zh-TW"
45
+ | :"es-419"
44
46
 
45
47
  module Language
46
48
  extend GrowsurfRuby::Internal::Type::Enum
@@ -84,6 +86,8 @@ module GrowsurfRuby
84
86
  FIL: :fil
85
87
  AF: :af
86
88
  SW: :sw
89
+ ZH_TW: :"zh-TW"
90
+ ES_419: :"es-419"
87
91
 
88
92
  def self?.values: -> ::Array[GrowsurfRuby::Models::Campaign::language]
89
93
  end
@@ -9,12 +9,14 @@ module GrowsurfRuby
9
9
  approved: bool,
10
10
  approved_at: Integer?,
11
11
  amount: Float?,
12
+ amount_source: GrowsurfRuby::Models::Campaign::ParticipantReward::amount_source?,
12
13
  commission_structure: GrowsurfRuby::CommissionStructure?,
13
14
  currency_iso: String?,
14
15
  fulfilled_at: Integer?,
15
16
  is_available: bool,
16
17
  is_fulfilled: bool,
17
18
  is_referrer: bool,
19
+ percent_off: Float?,
18
20
  referred_id: String,
19
21
  referrer_id: String,
20
22
  unread: bool
@@ -39,6 +41,8 @@ module GrowsurfRuby
39
41
 
40
42
  def amount=: (Float?) -> Float?
41
43
 
44
+ attr_accessor amount_source: GrowsurfRuby::Models::Campaign::ParticipantReward::amount_source?
45
+
42
46
  attr_accessor commission_structure: GrowsurfRuby::CommissionStructure?
43
47
 
44
48
  attr_reader currency_iso: String?
@@ -61,6 +65,10 @@ module GrowsurfRuby
61
65
 
62
66
  def is_referrer=: (bool) -> bool
63
67
 
68
+ attr_reader percent_off: Float?
69
+
70
+ def percent_off=: (Float?) -> Float?
71
+
64
72
  attr_reader referred_id: String?
65
73
 
66
74
  def referred_id=: (String) -> String
@@ -80,12 +88,14 @@ module GrowsurfRuby
80
88
  ?approved: bool,
81
89
  ?approved_at: Integer?,
82
90
  ?amount: Float?,
91
+ ?amount_source: GrowsurfRuby::Models::Campaign::ParticipantReward::amount_source?,
83
92
  ?commission_structure: GrowsurfRuby::CommissionStructure?,
84
93
  ?currency_iso: String?,
85
94
  ?fulfilled_at: Integer?,
86
95
  ?is_available: bool,
87
96
  ?is_fulfilled: bool,
88
97
  ?is_referrer: bool,
98
+ ?percent_off: Float?,
89
99
  ?referred_id: String,
90
100
  ?referrer_id: String,
91
101
  ?unread: bool
@@ -98,17 +108,39 @@ module GrowsurfRuby
98
108
  approved: bool,
99
109
  approved_at: Integer?,
100
110
  amount: Float?,
111
+ amount_source: GrowsurfRuby::Models::Campaign::ParticipantReward::amount_source?,
101
112
  commission_structure: GrowsurfRuby::CommissionStructure?,
102
113
  currency_iso: String?,
103
114
  fulfilled_at: Integer?,
104
115
  is_available: bool,
105
116
  is_fulfilled: bool,
106
117
  is_referrer: bool,
118
+ percent_off: Float?,
107
119
  referred_id: String,
108
120
  referrer_id: String,
109
121
  unread: bool
110
122
  }
111
123
 
124
+ type amount_source =
125
+ :STRIPE | :CHARGEBEE | :RECURLY | :CHARGIFY | :PAYPAL | :VENMO | :TANGO_CARD | :TREMENDOUS | :XTRM | :METADATA
126
+
127
+ module AmountSource
128
+ extend GrowsurfRuby::Internal::Type::Enum
129
+
130
+ STRIPE: :STRIPE
131
+ CHARGEBEE: :CHARGEBEE
132
+ RECURLY: :RECURLY
133
+ CHARGIFY: :CHARGIFY
134
+ PAYPAL: :PAYPAL
135
+ VENMO: :VENMO
136
+ TANGO_CARD: :TANGO_CARD
137
+ TREMENDOUS: :TREMENDOUS
138
+ XTRM: :XTRM
139
+ METADATA: :METADATA
140
+
141
+ def self?.values: -> ::Array[GrowsurfRuby::Models::Campaign::ParticipantReward::amount_source]
142
+ end
143
+
112
144
  type status = :PENDING | :FULFILLED | :CANCELLED
113
145
 
114
146
  module Status
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: growsurf-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.19.0
4
+ version: 1.20.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Growsurf
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-11-03 00:00:00.000000000 Z
11
+ date: 2026-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi