orb-billing 1.28.0 → 1.29.0

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: e696c92aadec856a97cadfc85a5efaa55b51947b6d261e23afb9b038fc291203
4
- data.tar.gz: b5fb963b9ab31969d11a701a07e188843e5f4f19560ddea000223f3bbd95f16f
3
+ metadata.gz: f5a6e4855b8279d4e1a6bdf28f4c400529e61861a120047763a6ffdaed8e5575
4
+ data.tar.gz: 36fe46e75224e82fb729f71d0d754736174092708fc02b1692600360eff66dc7
5
5
  SHA512:
6
- metadata.gz: 22f4131bc53e513d7d4a9735bd04ef912b276aec5abe2fb8653ee4ff02f6ff471123a20d296bcb8c226bd6a4b1a623ff03eeb1678dfac39fc5b9edb751c1fcaa
7
- data.tar.gz: 37ad33761702700de24810b0a5bb8b4df17cb21543bf8f9362405392dc2d28521fdfcc37f2dae1fe129df459301c3be044af577427d6d04322a3dfd936d3c243
6
+ metadata.gz: b6a5c380bac65e5c3636214e5dd68535b327a427ad3b24519af8de62f7426c95a321d492e8ba9940f5426da4df5ac39be566b756f91ba73ea3445aea90450708
7
+ data.tar.gz: a20cd6d63c5af3f339fbaaba7d3fd549b137a4218f7d6f5ccf9021a74c274ae8beaa6bf2f40f885f23e31267bf03c45cad819a0c329abd281d9de5832f65d5d1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.29.0](https://github.com/orbcorp/orb-ruby/compare/v1.28.1...v1.29.0) (2026-09-03)
4
+
5
+
6
+ ### Features
7
+
8
+ * **api:** support partial grouping key targeting in alert threshold overrides ([df6a1c5](https://github.com/orbcorp/orb-ruby/commit/df6a1c56eb5008b4659900048b555e6fff7dcd30))
9
+
10
+ ## [1.28.1](https://github.com/orbcorp/orb-ruby/compare/v1.28.0...v1.28.1) (2026-08-28)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * **api:** require non-empty `country` in customer address input ([39ecbcc](https://github.com/orbcorp/orb-ruby/commit/39ecbcc5d8ca7f60e4aeced6c4cc744c7c4892aa))
16
+
3
17
  ## [1.28.0](https://github.com/orbcorp/orb-ruby/compare/v1.27.0...v1.28.0) (2026-08-25)
4
18
 
5
19
 
data/README.md CHANGED
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
15
15
  <!-- x-release-please-start-version -->
16
16
 
17
17
  ```ruby
18
- gem "orb-billing", "~> 1.28.0"
18
+ gem "orb-billing", "~> 1.29.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -3,15 +3,15 @@
3
3
  module Orb
4
4
  module Models
5
5
  class AddressInput < Orb::Internal::Type::BaseModel
6
- # @!attribute city
6
+ # @!attribute country
7
7
  #
8
- # @return [String, nil]
9
- optional :city, String, nil?: true
8
+ # @return [String]
9
+ required :country, String
10
10
 
11
- # @!attribute country
11
+ # @!attribute city
12
12
  #
13
13
  # @return [String, nil]
14
- optional :country, String, nil?: true
14
+ optional :city, String, nil?: true
15
15
 
16
16
  # @!attribute line1
17
17
  #
@@ -33,9 +33,9 @@ module Orb
33
33
  # @return [String, nil]
34
34
  optional :state, String, nil?: true
35
35
 
36
- # @!method initialize(city: nil, country: nil, line1: nil, line2: nil, postal_code: nil, state: nil)
36
+ # @!method initialize(country:, city: nil, line1: nil, line2: nil, postal_code: nil, state: nil)
37
+ # @param country [String]
37
38
  # @param city [String, nil]
38
- # @param country [String, nil]
39
39
  # @param line1 [String, nil]
40
40
  # @param line2 [String, nil]
41
41
  # @param postal_code [String, nil]
@@ -308,8 +308,8 @@ module Orb
308
308
 
309
309
  class ThresholdOverride < Orb::Internal::Type::BaseModel
310
310
  # @!attribute group_values
311
- # The values of the grouping keys that identify this group. The list length
312
- # matches the alert's grouping_keys.
311
+ # The values identifying this group, ordered to match group_keys when set and the
312
+ # alert's grouping_keys otherwise.
313
313
  #
314
314
  # @return [Array<String>]
315
315
  required :group_values, Orb::Internal::Type::ArrayOf[String]
@@ -320,7 +320,14 @@ module Orb
320
320
  # @return [Array<Orb::Models::Threshold>]
321
321
  required :thresholds, -> { Orb::Internal::Type::ArrayOf[Orb::Threshold] }
322
322
 
323
- # @!method initialize(group_values:, thresholds:)
323
+ # @!attribute group_keys
324
+ # The subset of the alert's grouping_keys this override binds. Null when the
325
+ # override targets one exact group across every grouping key.
326
+ #
327
+ # @return [Array<String>, nil]
328
+ optional :group_keys, Orb::Internal::Type::ArrayOf[String], nil?: true
329
+
330
+ # @!method initialize(group_values:, thresholds:, group_keys: nil)
324
331
  # Some parameter documentations has been truncated, see
325
332
  # {Orb::Models::Alert::ThresholdOverride} for more details.
326
333
  #
@@ -329,9 +336,11 @@ module Orb
329
336
  # An empty `thresholds` list means the group is silenced (never fires). A
330
337
  # non-empty list fully replaces the default thresholds for that group.
331
338
  #
332
- # @param group_values [Array<String>] The values of the grouping keys that identify this group. The list length matche
339
+ # @param group_values [Array<String>] The values identifying this group, ordered to match group_keys when set and the
333
340
  #
334
341
  # @param thresholds [Array<Orb::Models::Threshold>] The thresholds applied to this group. An empty list means the group is silenced.
342
+ #
343
+ # @param group_keys [Array<String>, nil] The subset of the alert's grouping_keys this override binds. Null when the overr
335
344
  end
336
345
  end
337
346
  end
@@ -160,8 +160,8 @@ module Orb
160
160
  class ThresholdOverride < Orb::Internal::Type::BaseModel
161
161
  # @!attribute group_values
162
162
  # The values of the grouping keys that identify this group. The list length must
163
- # match the alert's grouping_keys, and values appear in the same order as
164
- # grouping_keys.
163
+ # match group_keys when it is set, and the alert's grouping_keys otherwise, with
164
+ # values in the same order as whichever applies.
165
165
  #
166
166
  # @return [Array<String>]
167
167
  required :group_values, Orb::Internal::Type::ArrayOf[String]
@@ -173,7 +173,16 @@ module Orb
173
173
  # @return [Array<Orb::Models::Threshold>]
174
174
  required :thresholds, -> { Orb::Internal::Type::ArrayOf[Orb::Threshold] }
175
175
 
176
- # @!method initialize(group_values:, thresholds:)
176
+ # @!attribute group_keys
177
+ # The subset of the alert's grouping_keys that this override binds. Any grouping
178
+ # key not named is unconstrained, so the override applies to every group matching
179
+ # the named values. When omitted, group_values must cover every grouping key in
180
+ # order.
181
+ #
182
+ # @return [Array<String>, nil]
183
+ optional :group_keys, Orb::Internal::Type::ArrayOf[String], nil?: true
184
+
185
+ # @!method initialize(group_values:, thresholds:, group_keys: nil)
177
186
  # Some parameter documentations has been truncated, see
178
187
  # {Orb::Models::AlertCreateForSubscriptionParams::ThresholdOverride} for more
179
188
  # details.
@@ -186,6 +195,8 @@ module Orb
186
195
  # @param group_values [Array<String>] The values of the grouping keys that identify this group. The list length must m
187
196
  #
188
197
  # @param thresholds [Array<Orb::Models::Threshold>] The thresholds to apply to this group. An empty list silences alerts for this gr
198
+ #
199
+ # @param group_keys [Array<String>, nil] The subset of the alert's grouping_keys that this override binds. Any grouping k
189
200
  end
190
201
  end
191
202
  end
@@ -112,8 +112,8 @@ module Orb
112
112
  class ThresholdOverride < Orb::Internal::Type::BaseModel
113
113
  # @!attribute group_values
114
114
  # The values of the grouping keys that identify this group. The list length must
115
- # match the alert's grouping_keys, and values appear in the same order as
116
- # grouping_keys.
115
+ # match group_keys when it is set, and the alert's grouping_keys otherwise, with
116
+ # values in the same order as whichever applies.
117
117
  #
118
118
  # @return [Array<String>]
119
119
  required :group_values, Orb::Internal::Type::ArrayOf[String]
@@ -125,7 +125,16 @@ module Orb
125
125
  # @return [Array<Orb::Models::Threshold>]
126
126
  required :thresholds, -> { Orb::Internal::Type::ArrayOf[Orb::Threshold] }
127
127
 
128
- # @!method initialize(group_values:, thresholds:)
128
+ # @!attribute group_keys
129
+ # The subset of the alert's grouping_keys that this override binds. Any grouping
130
+ # key not named is unconstrained, so the override applies to every group matching
131
+ # the named values. When omitted, group_values must cover every grouping key in
132
+ # order.
133
+ #
134
+ # @return [Array<String>, nil]
135
+ optional :group_keys, Orb::Internal::Type::ArrayOf[String], nil?: true
136
+
137
+ # @!method initialize(group_values:, thresholds:, group_keys: nil)
129
138
  # Some parameter documentations has been truncated, see
130
139
  # {Orb::Models::AlertUpdateParams::ThresholdOverride} for more details.
131
140
  #
@@ -137,6 +146,8 @@ module Orb
137
146
  # @param group_values [Array<String>] The values of the grouping keys that identify this group. The list length must m
138
147
  #
139
148
  # @param thresholds [Array<Orb::Models::Threshold>] The thresholds to apply to this group. An empty list silences alerts for this gr
149
+ #
150
+ # @param group_keys [Array<String>, nil] The subset of the alert's grouping_keys that this override binds. Any grouping k
140
151
  end
141
152
  end
142
153
  end
data/lib/orb/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Orb
4
- VERSION = "1.28.0"
4
+ VERSION = "1.29.0"
5
5
  end
@@ -5,11 +5,11 @@ module Orb
5
5
  class AddressInput < Orb::Internal::Type::BaseModel
6
6
  OrHash = T.type_alias { T.any(Orb::AddressInput, Orb::Internal::AnyHash) }
7
7
 
8
- sig { returns(T.nilable(String)) }
9
- attr_accessor :city
8
+ sig { returns(String) }
9
+ attr_accessor :country
10
10
 
11
11
  sig { returns(T.nilable(String)) }
12
- attr_accessor :country
12
+ attr_accessor :city
13
13
 
14
14
  sig { returns(T.nilable(String)) }
15
15
  attr_accessor :line1
@@ -25,8 +25,8 @@ module Orb
25
25
 
26
26
  sig do
27
27
  params(
28
+ country: String,
28
29
  city: T.nilable(String),
29
- country: T.nilable(String),
30
30
  line1: T.nilable(String),
31
31
  line2: T.nilable(String),
32
32
  postal_code: T.nilable(String),
@@ -34,8 +34,8 @@ module Orb
34
34
  ).returns(T.attached_class)
35
35
  end
36
36
  def self.new(
37
+ country:,
37
38
  city: nil,
38
- country: nil,
39
39
  line1: nil,
40
40
  line2: nil,
41
41
  postal_code: nil,
@@ -46,8 +46,8 @@ module Orb
46
46
  sig do
47
47
  override.returns(
48
48
  {
49
+ country: String,
49
50
  city: T.nilable(String),
50
- country: T.nilable(String),
51
51
  line1: T.nilable(String),
52
52
  line2: T.nilable(String),
53
53
  postal_code: T.nilable(String),
@@ -442,8 +442,8 @@ module Orb
442
442
  T.any(Orb::Alert::ThresholdOverride, Orb::Internal::AnyHash)
443
443
  end
444
444
 
445
- # The values of the grouping keys that identify this group. The list length
446
- # matches the alert's grouping_keys.
445
+ # The values identifying this group, ordered to match group_keys when set and the
446
+ # alert's grouping_keys otherwise.
447
447
  sig { returns(T::Array[String]) }
448
448
  attr_accessor :group_values
449
449
 
@@ -451,6 +451,11 @@ module Orb
451
451
  sig { returns(T::Array[Orb::Threshold]) }
452
452
  attr_accessor :thresholds
453
453
 
454
+ # The subset of the alert's grouping_keys this override binds. Null when the
455
+ # override targets one exact group across every grouping key.
456
+ sig { returns(T.nilable(T::Array[String])) }
457
+ attr_accessor :group_keys
458
+
454
459
  # A per-group threshold override on a grouped cost alert.
455
460
  #
456
461
  # An empty `thresholds` list means the group is silenced (never fires). A
@@ -458,15 +463,19 @@ module Orb
458
463
  sig do
459
464
  params(
460
465
  group_values: T::Array[String],
461
- thresholds: T::Array[Orb::Threshold::OrHash]
466
+ thresholds: T::Array[Orb::Threshold::OrHash],
467
+ group_keys: T.nilable(T::Array[String])
462
468
  ).returns(T.attached_class)
463
469
  end
464
470
  def self.new(
465
- # The values of the grouping keys that identify this group. The list length
466
- # matches the alert's grouping_keys.
471
+ # The values identifying this group, ordered to match group_keys when set and the
472
+ # alert's grouping_keys otherwise.
467
473
  group_values:,
468
474
  # The thresholds applied to this group. An empty list means the group is silenced.
469
- thresholds:
475
+ thresholds:,
476
+ # The subset of the alert's grouping_keys this override binds. Null when the
477
+ # override targets one exact group across every grouping key.
478
+ group_keys: nil
470
479
  )
471
480
  end
472
481
 
@@ -474,7 +483,8 @@ module Orb
474
483
  override.returns(
475
484
  {
476
485
  group_values: T::Array[String],
477
- thresholds: T::Array[Orb::Threshold]
486
+ thresholds: T::Array[Orb::Threshold],
487
+ group_keys: T.nilable(T::Array[String])
478
488
  }
479
489
  )
480
490
  end
@@ -334,8 +334,8 @@ module Orb
334
334
  end
335
335
 
336
336
  # The values of the grouping keys that identify this group. The list length must
337
- # match the alert's grouping_keys, and values appear in the same order as
338
- # grouping_keys.
337
+ # match group_keys when it is set, and the alert's grouping_keys otherwise, with
338
+ # values in the same order as whichever applies.
339
339
  sig { returns(T::Array[String]) }
340
340
  attr_accessor :group_values
341
341
 
@@ -344,6 +344,13 @@ module Orb
344
344
  sig { returns(T::Array[Orb::Threshold]) }
345
345
  attr_accessor :thresholds
346
346
 
347
+ # The subset of the alert's grouping_keys that this override binds. Any grouping
348
+ # key not named is unconstrained, so the override applies to every group matching
349
+ # the named values. When omitted, group_values must cover every grouping key in
350
+ # order.
351
+ sig { returns(T.nilable(T::Array[String])) }
352
+ attr_accessor :group_keys
353
+
347
354
  # Per-group threshold override on a grouped cost alert.
348
355
  #
349
356
  # - An empty `thresholds` list silences alerts for this group (never fires).
@@ -351,17 +358,23 @@ module Orb
351
358
  sig do
352
359
  params(
353
360
  group_values: T::Array[String],
354
- thresholds: T::Array[Orb::Threshold::OrHash]
361
+ thresholds: T::Array[Orb::Threshold::OrHash],
362
+ group_keys: T.nilable(T::Array[String])
355
363
  ).returns(T.attached_class)
356
364
  end
357
365
  def self.new(
358
366
  # The values of the grouping keys that identify this group. The list length must
359
- # match the alert's grouping_keys, and values appear in the same order as
360
- # grouping_keys.
367
+ # match group_keys when it is set, and the alert's grouping_keys otherwise, with
368
+ # values in the same order as whichever applies.
361
369
  group_values:,
362
370
  # The thresholds to apply to this group. An empty list silences alerts for this
363
371
  # group. A non-empty list fully replaces the default thresholds for this group.
364
- thresholds:
372
+ thresholds:,
373
+ # The subset of the alert's grouping_keys that this override binds. Any grouping
374
+ # key not named is unconstrained, so the override applies to every group matching
375
+ # the named values. When omitted, group_values must cover every grouping key in
376
+ # order.
377
+ group_keys: nil
365
378
  )
366
379
  end
367
380
 
@@ -369,7 +382,8 @@ module Orb
369
382
  override.returns(
370
383
  {
371
384
  group_values: T::Array[String],
372
- thresholds: T::Array[Orb::Threshold]
385
+ thresholds: T::Array[Orb::Threshold],
386
+ group_keys: T.nilable(T::Array[String])
373
387
  }
374
388
  )
375
389
  end
@@ -212,8 +212,8 @@ module Orb
212
212
  end
213
213
 
214
214
  # The values of the grouping keys that identify this group. The list length must
215
- # match the alert's grouping_keys, and values appear in the same order as
216
- # grouping_keys.
215
+ # match group_keys when it is set, and the alert's grouping_keys otherwise, with
216
+ # values in the same order as whichever applies.
217
217
  sig { returns(T::Array[String]) }
218
218
  attr_accessor :group_values
219
219
 
@@ -222,6 +222,13 @@ module Orb
222
222
  sig { returns(T::Array[Orb::Threshold]) }
223
223
  attr_accessor :thresholds
224
224
 
225
+ # The subset of the alert's grouping_keys that this override binds. Any grouping
226
+ # key not named is unconstrained, so the override applies to every group matching
227
+ # the named values. When omitted, group_values must cover every grouping key in
228
+ # order.
229
+ sig { returns(T.nilable(T::Array[String])) }
230
+ attr_accessor :group_keys
231
+
225
232
  # Per-group threshold override on a grouped cost alert.
226
233
  #
227
234
  # - An empty `thresholds` list silences alerts for this group (never fires).
@@ -229,17 +236,23 @@ module Orb
229
236
  sig do
230
237
  params(
231
238
  group_values: T::Array[String],
232
- thresholds: T::Array[Orb::Threshold::OrHash]
239
+ thresholds: T::Array[Orb::Threshold::OrHash],
240
+ group_keys: T.nilable(T::Array[String])
233
241
  ).returns(T.attached_class)
234
242
  end
235
243
  def self.new(
236
244
  # The values of the grouping keys that identify this group. The list length must
237
- # match the alert's grouping_keys, and values appear in the same order as
238
- # grouping_keys.
245
+ # match group_keys when it is set, and the alert's grouping_keys otherwise, with
246
+ # values in the same order as whichever applies.
239
247
  group_values:,
240
248
  # The thresholds to apply to this group. An empty list silences alerts for this
241
249
  # group. A non-empty list fully replaces the default thresholds for this group.
242
- thresholds:
250
+ thresholds:,
251
+ # The subset of the alert's grouping_keys that this override binds. Any grouping
252
+ # key not named is unconstrained, so the override applies to every group matching
253
+ # the named values. When omitted, group_values must cover every grouping key in
254
+ # order.
255
+ group_keys: nil
243
256
  )
244
257
  end
245
258
 
@@ -247,7 +260,8 @@ module Orb
247
260
  override.returns(
248
261
  {
249
262
  group_values: T::Array[String],
250
- thresholds: T::Array[Orb::Threshold]
263
+ thresholds: T::Array[Orb::Threshold],
264
+ group_keys: T.nilable(T::Array[String])
251
265
  }
252
266
  )
253
267
  end
@@ -2,8 +2,8 @@ module Orb
2
2
  module Models
3
3
  type address_input =
4
4
  {
5
+ country: String,
5
6
  city: String?,
6
- country: String?,
7
7
  :line1 => String?,
8
8
  :line2 => String?,
9
9
  postal_code: String?,
@@ -11,9 +11,9 @@ module Orb
11
11
  }
12
12
 
13
13
  class AddressInput < Orb::Internal::Type::BaseModel
14
- attr_accessor city: String?
14
+ attr_accessor country: String
15
15
 
16
- attr_accessor country: String?
16
+ attr_accessor city: String?
17
17
 
18
18
  attr_accessor line1: String?
19
19
 
@@ -24,8 +24,8 @@ module Orb
24
24
  attr_accessor state: String?
25
25
 
26
26
  def initialize: (
27
+ country: String,
27
28
  ?city: String?,
28
- ?country: String?,
29
29
  ?line1: String?,
30
30
  ?line2: String?,
31
31
  ?postal_code: String?,
@@ -33,8 +33,8 @@ module Orb
33
33
  ) -> void
34
34
 
35
35
  def to_hash: -> {
36
+ country: String,
36
37
  city: String?,
37
- country: String?,
38
38
  :line1 => String?,
39
39
  :line2 => String?,
40
40
  postal_code: String?,
@@ -227,21 +227,29 @@ module Orb
227
227
  end
228
228
 
229
229
  type threshold_override =
230
- { group_values: ::Array[String], thresholds: ::Array[Orb::Threshold] }
230
+ {
231
+ group_values: ::Array[String],
232
+ thresholds: ::Array[Orb::Threshold],
233
+ group_keys: ::Array[String]?
234
+ }
231
235
 
232
236
  class ThresholdOverride < Orb::Internal::Type::BaseModel
233
237
  attr_accessor group_values: ::Array[String]
234
238
 
235
239
  attr_accessor thresholds: ::Array[Orb::Threshold]
236
240
 
241
+ attr_accessor group_keys: ::Array[String]?
242
+
237
243
  def initialize: (
238
244
  group_values: ::Array[String],
239
- thresholds: ::Array[Orb::Threshold]
245
+ thresholds: ::Array[Orb::Threshold],
246
+ ?group_keys: ::Array[String]?
240
247
  ) -> void
241
248
 
242
249
  def to_hash: -> {
243
250
  group_values: ::Array[String],
244
- thresholds: ::Array[Orb::Threshold]
251
+ thresholds: ::Array[Orb::Threshold],
252
+ group_keys: ::Array[String]?
245
253
  }
246
254
  end
247
255
  end
@@ -123,21 +123,29 @@ module Orb
123
123
  end
124
124
 
125
125
  type threshold_override =
126
- { group_values: ::Array[String], thresholds: ::Array[Orb::Threshold] }
126
+ {
127
+ group_values: ::Array[String],
128
+ thresholds: ::Array[Orb::Threshold],
129
+ group_keys: ::Array[String]?
130
+ }
127
131
 
128
132
  class ThresholdOverride < Orb::Internal::Type::BaseModel
129
133
  attr_accessor group_values: ::Array[String]
130
134
 
131
135
  attr_accessor thresholds: ::Array[Orb::Threshold]
132
136
 
137
+ attr_accessor group_keys: ::Array[String]?
138
+
133
139
  def initialize: (
134
140
  group_values: ::Array[String],
135
- thresholds: ::Array[Orb::Threshold]
141
+ thresholds: ::Array[Orb::Threshold],
142
+ ?group_keys: ::Array[String]?
136
143
  ) -> void
137
144
 
138
145
  def to_hash: -> {
139
146
  group_values: ::Array[String],
140
- thresholds: ::Array[Orb::Threshold]
147
+ thresholds: ::Array[Orb::Threshold],
148
+ group_keys: ::Array[String]?
141
149
  }
142
150
  end
143
151
  end
@@ -91,21 +91,29 @@ module Orb
91
91
  end
92
92
 
93
93
  type threshold_override =
94
- { group_values: ::Array[String], thresholds: ::Array[Orb::Threshold] }
94
+ {
95
+ group_values: ::Array[String],
96
+ thresholds: ::Array[Orb::Threshold],
97
+ group_keys: ::Array[String]?
98
+ }
95
99
 
96
100
  class ThresholdOverride < Orb::Internal::Type::BaseModel
97
101
  attr_accessor group_values: ::Array[String]
98
102
 
99
103
  attr_accessor thresholds: ::Array[Orb::Threshold]
100
104
 
105
+ attr_accessor group_keys: ::Array[String]?
106
+
101
107
  def initialize: (
102
108
  group_values: ::Array[String],
103
- thresholds: ::Array[Orb::Threshold]
109
+ thresholds: ::Array[Orb::Threshold],
110
+ ?group_keys: ::Array[String]?
104
111
  ) -> void
105
112
 
106
113
  def to_hash: -> {
107
114
  group_values: ::Array[String],
108
- thresholds: ::Array[Orb::Threshold]
115
+ thresholds: ::Array[Orb::Threshold],
116
+ group_keys: ::Array[String]?
109
117
  }
110
118
  end
111
119
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: orb-billing
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.28.0
4
+ version: 1.29.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Orb
@@ -1407,7 +1407,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1407
1407
  - !ruby/object:Gem::Version
1408
1408
  version: '0'
1409
1409
  requirements: []
1410
- rubygems_version: 4.0.19
1410
+ rubygems_version: 4.0.20
1411
1411
  specification_version: 4
1412
1412
  summary: Ruby library to access the Orb API
1413
1413
  test_files: []