moov_ruby 0.3.9 → 0.3.10
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 33855815ef7a3cf6e55fc0cf7128debcbe602587d676603bad008a8d399c0798
|
|
4
|
+
data.tar.gz: 9a1b7cbf1706e8575841d04e3f820a77365af660a30f070fa59c72ab2f47755e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 05545fa37883be73535f6413fbb1a4e6642c4a6fe361156a02664670a0c863ac67180ad6ff0a0a06ab583c76c95630070e8e2f6db0a71480106e4e71ed0e919c
|
|
7
|
+
data.tar.gz: 135f48a88fb72e7ea88f0acc52055e7ca4dc55a4f4d83061e1ad2e93a316923c6ab9c836d430f9cc6f42da9c54d63cb65d2b68a7a5f6ff614cb28cb6c0ac27e4
|
|
@@ -21,13 +21,16 @@ module Moov
|
|
|
21
21
|
field :price_modifier, Crystalline::Nilable.new(Models::Components::AmountDecimal), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('priceModifier') } }
|
|
22
22
|
# Optional group identifier to categorize related options (e.g., 'toppings').
|
|
23
23
|
field :group, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('group') } }
|
|
24
|
+
# Optional list of images associated with this line item option.
|
|
25
|
+
field :images, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::InvoiceLineItemImageMetadata)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('images') } }
|
|
24
26
|
|
|
25
|
-
sig { params(name: ::String, quantity: ::Integer, price_modifier: T.nilable(Models::Components::AmountDecimal), group: T.nilable(::String)).void }
|
|
26
|
-
def initialize(name:, quantity:, price_modifier: nil, group: nil)
|
|
27
|
+
sig { params(name: ::String, quantity: ::Integer, price_modifier: T.nilable(Models::Components::AmountDecimal), group: T.nilable(::String), images: T.nilable(T::Array[Models::Components::InvoiceLineItemImageMetadata])).void }
|
|
28
|
+
def initialize(name:, quantity:, price_modifier: nil, group: nil, images: nil)
|
|
27
29
|
@name = name
|
|
28
30
|
@quantity = quantity
|
|
29
31
|
@price_modifier = price_modifier
|
|
30
32
|
@group = group
|
|
33
|
+
@images = images
|
|
31
34
|
end
|
|
32
35
|
|
|
33
36
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
@@ -37,6 +40,7 @@ module Moov
|
|
|
37
40
|
return false unless @quantity == other.quantity
|
|
38
41
|
return false unless @price_modifier == other.price_modifier
|
|
39
42
|
return false unless @group == other.group
|
|
43
|
+
return false unless @images == other.images
|
|
40
44
|
true
|
|
41
45
|
end
|
|
42
46
|
end
|
|
@@ -95,9 +95,9 @@ module Moov
|
|
|
95
95
|
@globals = globals.nil? ? {} : globals
|
|
96
96
|
@language = 'ruby'
|
|
97
97
|
@openapi_doc_version = 'latest'
|
|
98
|
-
@sdk_version = '0.3.
|
|
99
|
-
@gen_version = '2.
|
|
100
|
-
@user_agent = 'speakeasy-sdk/ruby 0.3.
|
|
98
|
+
@sdk_version = '0.3.10'
|
|
99
|
+
@gen_version = '2.772.0'
|
|
100
|
+
@user_agent = 'speakeasy-sdk/ruby 0.3.10 2.772.0 latest moov_ruby'
|
|
101
101
|
end
|
|
102
102
|
|
|
103
103
|
sig { returns([String, T::Hash[Symbol, String]]) }
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: moov_ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Speakeasy
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-12-
|
|
11
|
+
date: 2025-12-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: base64
|