e-invoice-api 0.2.7 → 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: ff3b72df8fa6e8194ffdeec240a6b59429643e13c62bcb8c73ae67250e7ad8d8
4
- data.tar.gz: c7f8fe3e30461d96e453ec65370f2004408b73e4d31039f2cc9f80ed11640bcd
3
+ metadata.gz: 4ae2091bfecffebd33584cf3054d3f1b9758d75b471a9fae16e79e4ca7e45046
4
+ data.tar.gz: fddfda703446059978b2b2c60a69754b34df336d887c72841aca3d7e738970f4
5
5
  SHA512:
6
- metadata.gz: 3751c1f4de78e96bade5d7afbaf6227d6a9cbd1184cc3e46a1145855b856dd1e81b2fbd1d83c9760162121029dbd395404e446ba2a4de0ac5d048e508dc78e37
7
- data.tar.gz: f4e80aaf99779911eae81446238523c2356e37c3254dbaf18bf758478e64a04686159e32f221839f5d352f4806657acbeafbaf4a05266c9cff88804ea9e25206
6
+ metadata.gz: 0eaca4cee1f98ef865336a055402875c2f5436ecb867339f89bb892faf6495ca326e5c7a44705f94b5a92844458ce2ac1762137ced0cd3e1e3a8eeda49d9e277
7
+ data.tar.gz: 13f82f5d4e3ca9205c6f58a956cc7ef9ee03b12483ccd4b5eacd321529d51b88807df4178450d4350205e2fa7f26de3c156709c2efb01334f50050623c553259
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
3
11
  ## 0.2.7 (2025-08-25)
4
12
 
5
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)
data/README.md CHANGED
@@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application
17
17
  <!-- x-release-please-start-version -->
18
18
 
19
19
  ```ruby
20
- gem "e-invoice-api", "~> 0.2.7"
20
+ gem "e-invoice-api", "~> 0.3.0"
21
21
  ```
22
22
 
23
23
  <!-- x-release-please-end -->
@@ -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
- # @param file_data [String, nil]
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EInvoiceAPI
4
- VERSION = "0.2.7"
4
+ VERSION = "0.3.0"
5
5
  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(file_name:, file_data: nil, file_size: nil, file_type: nil)
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.2.7
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-08-27 00:00:00.000000000 Z
11
+ date: 2025-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool