e-invoice-api 0.2.6 → 0.3.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ae2091bfecffebd33584cf3054d3f1b9758d75b471a9fae16e79e4ca7e45046
|
4
|
+
data.tar.gz: fddfda703446059978b2b2c60a69754b34df336d887c72841aca3d7e738970f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0eaca4cee1f98ef865336a055402875c2f5436ecb867339f89bb892faf6495ca326e5c7a44705f94b5a92844458ce2ac1762137ced0cd3e1e3a8eeda49d9e277
|
7
|
+
data.tar.gz: 13f82f5d4e3ca9205c6f58a956cc7ef9ee03b12483ccd4b5eacd321529d51b88807df4178450d4350205e2fa7f26de3c156709c2efb01334f50050623c553259
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 0.3.0 (2025-09-02)
|
4
|
+
|
5
|
+
Full Changelog: [v0.2.7...v0.3.0](https://github.com/e-invoice-be/e-invoice-rb/compare/v0.2.7...v0.3.0)
|
6
|
+
|
7
|
+
### Features
|
8
|
+
|
9
|
+
* **api:** api update ([851373b](https://github.com/e-invoice-be/e-invoice-rb/commit/851373bbd4e2e7d2ccf3610f553a4f482fdb8650))
|
10
|
+
|
11
|
+
## 0.2.7 (2025-08-25)
|
12
|
+
|
13
|
+
Full Changelog: [v0.2.6...v0.2.7](https://github.com/e-invoice-be/e-invoice-rb/compare/v0.2.6...v0.2.7)
|
14
|
+
|
15
|
+
### Chores
|
16
|
+
|
17
|
+
* add json schema comment for rubocop.yml ([512e286](https://github.com/e-invoice-be/e-invoice-rb/commit/512e2862466d84559993cb4ee055f7844c3eceda))
|
18
|
+
|
3
19
|
## 0.2.6 (2025-08-20)
|
4
20
|
|
5
21
|
Full Changelog: [v0.2.5...v0.2.6](https://github.com/e-invoice-be/e-invoice-rb/compare/v0.2.5...v0.2.6)
|
data/README.md
CHANGED
@@ -9,6 +9,7 @@ module EInvoiceAPI
|
|
9
9
|
required :file_name, String
|
10
10
|
|
11
11
|
# @!attribute file_data
|
12
|
+
# Base64 encoded file data
|
12
13
|
#
|
13
14
|
# @return [String, nil]
|
14
15
|
optional :file_data, String, nil?: true
|
@@ -25,8 +26,11 @@ module EInvoiceAPI
|
|
25
26
|
|
26
27
|
# @!method initialize(file_name:, file_data: nil, file_size: nil, file_type: nil)
|
27
28
|
# @param file_name [String]
|
28
|
-
#
|
29
|
+
#
|
30
|
+
# @param file_data [String, nil] Base64 encoded file data
|
31
|
+
#
|
29
32
|
# @param file_size [Integer]
|
33
|
+
#
|
30
34
|
# @param file_type [String]
|
31
35
|
end
|
32
36
|
end
|
@@ -14,6 +14,7 @@ module EInvoiceAPI
|
|
14
14
|
sig { returns(String) }
|
15
15
|
attr_accessor :file_name
|
16
16
|
|
17
|
+
# Base64 encoded file data
|
17
18
|
sig { returns(T.nilable(String)) }
|
18
19
|
attr_accessor :file_data
|
19
20
|
|
@@ -37,7 +38,13 @@ module EInvoiceAPI
|
|
37
38
|
file_type: String
|
38
39
|
).returns(T.attached_class)
|
39
40
|
end
|
40
|
-
def self.new(
|
41
|
+
def self.new(
|
42
|
+
file_name:,
|
43
|
+
# Base64 encoded file data
|
44
|
+
file_data: nil,
|
45
|
+
file_size: nil,
|
46
|
+
file_type: nil
|
47
|
+
)
|
41
48
|
end
|
42
49
|
|
43
50
|
sig do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: e-invoice-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- e-invoice
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-09-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: connection_pool
|