orb-billing 1.28.0 → 1.28.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 +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +1 -1
- data/lib/orb/models/address_input.rb +7 -7
- data/lib/orb/version.rb +1 -1
- data/rbi/orb/models/address_input.rbi +6 -6
- data/sig/orb/models/address_input.rbs +5 -5
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f08e40cee1132ccfdf37c2ca335239dca8012678897c474d325c9eb180953502
|
|
4
|
+
data.tar.gz: 1d2a73ae5808fccab65086206ccefaea08ae1e8e507cb2d5d3d5e23a59093ab5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c5ac4d9687e33fe77a4bbdf07fc4ef84e5cceee491d14f9dc6c9a3c36ef0c244bc02a77c59fecb0ba8c49e7fbb30b4d1d8d94686c539eae58966734635ee277f
|
|
7
|
+
data.tar.gz: 884291fba079ed20ef2afa070f84fbe1a156eb5d088bcfba97914ea17c02c9d17a9176bc1c2acb957f15f27a84be92bbe81e584b4c4e3ff3388b81227fa9246e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.28.1](https://github.com/orbcorp/orb-ruby/compare/v1.28.0...v1.28.1) (2026-08-28)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **api:** require non-empty `country` in customer address input ([39ecbcc](https://github.com/orbcorp/orb-ruby/commit/39ecbcc5d8ca7f60e4aeced6c4cc744c7c4892aa))
|
|
9
|
+
|
|
3
10
|
## [1.28.0](https://github.com/orbcorp/orb-ruby/compare/v1.27.0...v1.28.0) (2026-08-25)
|
|
4
11
|
|
|
5
12
|
|
data/README.md
CHANGED
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
module Orb
|
|
4
4
|
module Models
|
|
5
5
|
class AddressInput < Orb::Internal::Type::BaseModel
|
|
6
|
-
# @!attribute
|
|
6
|
+
# @!attribute country
|
|
7
7
|
#
|
|
8
|
-
# @return [String
|
|
9
|
-
|
|
8
|
+
# @return [String]
|
|
9
|
+
required :country, String
|
|
10
10
|
|
|
11
|
-
# @!attribute
|
|
11
|
+
# @!attribute city
|
|
12
12
|
#
|
|
13
13
|
# @return [String, nil]
|
|
14
|
-
optional :
|
|
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,
|
|
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]
|
data/lib/orb/version.rb
CHANGED
|
@@ -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(
|
|
9
|
-
attr_accessor :
|
|
8
|
+
sig { returns(String) }
|
|
9
|
+
attr_accessor :country
|
|
10
10
|
|
|
11
11
|
sig { returns(T.nilable(String)) }
|
|
12
|
-
attr_accessor :
|
|
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),
|
|
@@ -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
|
|
14
|
+
attr_accessor country: String
|
|
15
15
|
|
|
16
|
-
attr_accessor
|
|
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?,
|