e-invoice-api 0.2.7 → 0.4.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.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EInvoiceAPI
4
- VERSION = "0.2.7"
4
+ VERSION = "0.4.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