dub 0.2.2.pre.alpha.37 → 0.2.2.pre.alpha.38
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b5bd15732d88a420d9a2454a6d84344aff6c8fd24f1ee7f6445f687a32f1091
|
4
|
+
data.tar.gz: 506a4ae986ce907627af4afcea4ad34d7ea43649130cd9e90233c5b47c08dc13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e42eee52a4420955b9f0fdfe6755a434f77616ebd062f8b6a14d7e18302a38080c4116e748a3683bbf4385d8d6d78ee3336fec7ac7d114483a386247e3a13f9f
|
7
|
+
data.tar.gz: a061ffcf6a63690168d2bac63c43d5fb49b494874ad47a99015bb2fde863402ca7707dd6208af47d591e88877828fb316ddf82d29a2e55a5e55f885bd675e236
|
@@ -19,18 +19,20 @@ module OpenApiSDK
|
|
19
19
|
field :fg_color, T.nilable(::String), { 'query_param': { 'field_name': 'fgColor', 'style': 'form', 'explode': true } }
|
20
20
|
# Whether to hide the logo in the QR code. Can only be used with a paid plan on Dub.co.
|
21
21
|
field :hide_logo, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'hideLogo', 'style': 'form', 'explode': true } }
|
22
|
-
#
|
22
|
+
# DEPRECATED: Margin is included by default. Use the `margin` prop to customize the margin size.
|
23
23
|
field :include_margin, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'includeMargin', 'style': 'form', 'explode': true } }
|
24
24
|
# The level of error correction to use for the QR code. Defaults to `L` if not provided.
|
25
25
|
field :level, T.nilable(::OpenApiSDK::Operations::Level), { 'query_param': { 'field_name': 'level', 'style': 'form', 'explode': true } }
|
26
26
|
# The logo to include in the QR code. Can only be used with a paid plan on Dub.co.
|
27
27
|
field :logo, T.nilable(::String), { 'query_param': { 'field_name': 'logo', 'style': 'form', 'explode': true } }
|
28
|
+
# The size of the margin around the QR code. Defaults to 2 if not provided.
|
29
|
+
field :margin, T.nilable(::Float), { 'query_param': { 'field_name': 'margin', 'style': 'form', 'explode': true } }
|
28
30
|
# The size of the QR code in pixels. Defaults to `600` if not provided.
|
29
31
|
field :size, T.nilable(::Float), { 'query_param': { 'field_name': 'size', 'style': 'form', 'explode': true } }
|
30
32
|
|
31
33
|
|
32
|
-
sig { params(url: ::String, bg_color: T.nilable(::String), fg_color: T.nilable(::String), hide_logo: T.nilable(T::Boolean), include_margin: T.nilable(T::Boolean), level: T.nilable(::OpenApiSDK::Operations::Level), logo: T.nilable(::String), size: T.nilable(::Float)).void }
|
33
|
-
def initialize(url: nil, bg_color: nil, fg_color: nil, hide_logo: nil, include_margin: nil, level: nil, logo: nil, size: nil)
|
34
|
+
sig { params(url: ::String, bg_color: T.nilable(::String), fg_color: T.nilable(::String), hide_logo: T.nilable(T::Boolean), include_margin: T.nilable(T::Boolean), level: T.nilable(::OpenApiSDK::Operations::Level), logo: T.nilable(::String), margin: T.nilable(::Float), size: T.nilable(::Float)).void }
|
35
|
+
def initialize(url: nil, bg_color: nil, fg_color: nil, hide_logo: nil, include_margin: nil, level: nil, logo: nil, margin: nil, size: nil)
|
34
36
|
@url = url
|
35
37
|
@bg_color = bg_color
|
36
38
|
@fg_color = fg_color
|
@@ -38,6 +40,7 @@ module OpenApiSDK
|
|
38
40
|
@include_margin = include_margin
|
39
41
|
@level = level
|
40
42
|
@logo = logo
|
43
|
+
@margin = margin
|
41
44
|
@size = size
|
42
45
|
end
|
43
46
|
end
|
@@ -38,9 +38,9 @@ module OpenApiSDK
|
|
38
38
|
@security = security
|
39
39
|
@language = 'ruby'
|
40
40
|
@openapi_doc_version = '0.0.1'
|
41
|
-
@sdk_version = '0.2.2-alpha.
|
42
|
-
@gen_version = '2.
|
43
|
-
@user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.
|
41
|
+
@sdk_version = '0.2.2-alpha.38'
|
42
|
+
@gen_version = '2.461.2'
|
43
|
+
@user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.38 2.461.2 0.0.1 dub'
|
44
44
|
end
|
45
45
|
|
46
46
|
sig { returns([String, T::Hash[Symbol, String]]) }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.2.pre.alpha.
|
4
|
+
version: 0.2.2.pre.alpha.38
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dub
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-11-
|
11
|
+
date: 2024-11-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|