moov_ruby 0.1.31 → 0.1.32
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: 6b862a18aae9a46e355fde6363b5e28573c06b42a14ef6422d693b3ba4facc94
|
4
|
+
data.tar.gz: 55a12a6b3820a3b1233ae04ed95771ef1caee01ee8b38ba7d5c4141a7e8295dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c070a317030ed6648f16f628c2657de2802a2b3dba1fadcd99e7fd6844b5ea5473c317e40410144690a8a2723a375255ee0f44a907de932184b0eb3a198e03ea
|
7
|
+
data.tar.gz: c20d2fb2964acc100cbf3ef9de767868a93a58a6d50039cafc8e7992487d79a71455d2443a045060d85ad2988aedb6115cdd0e520f23ba39173da8c5b407b129
|
@@ -22,11 +22,11 @@ module Moov
|
|
22
22
|
# - HTML is not permitted and will be rejected
|
23
23
|
field :description, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('description') } }
|
24
24
|
# The adjustment applied to a product's base price by this option. Can be negative, positive, or zero.
|
25
|
-
field :price_modifier, Crystalline::Nilable.new(::
|
25
|
+
field :price_modifier, Crystalline::Nilable.new(Models::Components::AmountDecimal), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('priceModifier') } }
|
26
26
|
# Assign previously uploaded images to a product or option.
|
27
27
|
field :images, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::AssignProductImage)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('images') } }
|
28
28
|
|
29
|
-
sig { params(name: ::String, description: T.nilable(::String), price_modifier: T.nilable(::
|
29
|
+
sig { params(name: ::String, description: T.nilable(::String), price_modifier: T.nilable(Models::Components::AmountDecimal), images: T.nilable(T::Array[Models::Components::AssignProductImage])).void }
|
30
30
|
def initialize(name:, description: nil, price_modifier: nil, images: nil)
|
31
31
|
@name = name
|
32
32
|
@description = description
|
@@ -22,11 +22,11 @@ module Moov
|
|
22
22
|
# - HTML is not permitted and will be rejected
|
23
23
|
field :description, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('description') } }
|
24
24
|
# The adjustment applied to a product's base price by this option. Can be negative, positive, or zero.
|
25
|
-
field :price_modifier, Crystalline::Nilable.new(::
|
25
|
+
field :price_modifier, Crystalline::Nilable.new(Models::Components::AmountDecimal), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('priceModifier') } }
|
26
26
|
# The images associated with this option.
|
27
27
|
field :images, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::ProductImageMetadata)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('images') } }
|
28
28
|
|
29
|
-
sig { params(name: ::String, description: T.nilable(::String), price_modifier: T.nilable(::
|
29
|
+
sig { params(name: ::String, description: T.nilable(::String), price_modifier: T.nilable(Models::Components::AmountDecimal), images: T.nilable(T::Array[Models::Components::ProductImageMetadata])).void }
|
30
30
|
def initialize(name:, description: nil, price_modifier: nil, images: nil)
|
31
31
|
@name = name
|
32
32
|
@description = description
|
@@ -18,11 +18,11 @@ module Moov
|
|
18
18
|
|
19
19
|
field :description, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('description') } }
|
20
20
|
|
21
|
-
field :price_modifier, Crystalline::Nilable.new(::
|
21
|
+
field :price_modifier, Crystalline::Nilable.new(Models::Components::AmountDecimalValidationError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('priceModifier') } }
|
22
22
|
|
23
23
|
field :images, Crystalline::Nilable.new(Crystalline::Hash.new(Symbol, Models::Components::AssignProductImageValidationError)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('images') } }
|
24
24
|
|
25
|
-
sig { params(name: T.nilable(::String), description: T.nilable(::String), price_modifier: T.nilable(::
|
25
|
+
sig { params(name: T.nilable(::String), description: T.nilable(::String), price_modifier: T.nilable(Models::Components::AmountDecimalValidationError), images: T.nilable(T::Hash[Symbol, Models::Components::AssignProductImageValidationError])).void }
|
26
26
|
def initialize(name: nil, description: nil, price_modifier: nil, images: nil)
|
27
27
|
@name = name
|
28
28
|
@description = description
|
@@ -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.1.
|
98
|
+
@sdk_version = '0.1.32'
|
99
99
|
@gen_version = '2.723.11'
|
100
|
-
@user_agent = 'speakeasy-sdk/ruby 0.1.
|
100
|
+
@user_agent = 'speakeasy-sdk/ruby 0.1.32 2.723.11 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.1.
|
4
|
+
version: 0.1.32
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Speakeasy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-10-
|
11
|
+
date: 2025-10-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: base64
|