tripletex_ruby_client 1.0.8 → 1.0.9

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: 5cc5ed9deb0b1961f486d3dcdda1dfc0947d05a279bbcbe4b50cb41d70e45e6b
4
- data.tar.gz: c8aadc530518cded2246f000c85dd78eaee27fd0375b6f935ec06901d5c7e25b
3
+ metadata.gz: 69461b82944e7a7b82b907c6f0f320ab92be5930350ec33ac1d08bb2521b5510
4
+ data.tar.gz: 46e14eeccc4cde85e8eee92dc2b4a39cceaad7ff645e86ad6a993db2b6eaa3d6
5
5
  SHA512:
6
- metadata.gz: 8d37586cee50ae446fbcf6669578d16274cbf9c8321bf0d1402560fab14dc1bcb89d41f66f7d290c50ef443574e9a553bbea50281ecab62637170251388ab3f8
7
- data.tar.gz: 41001b1d23ab2334ed0b59b3d29b2dd1b095a6b1c4cf3eebe01cc21aeed6ce23da8db1a4d838052e9875f7c18f0fc8d60c58223f2a4a815c60156734522aa8e5
6
+ metadata.gz: f0397892da50ecaf19d4cb0b5cd7356d704f8618276e5e9aba9dee12e1ac8d5492d66ab6804d0aa9a448ad5662aa2ab5df73b2f3fb30e223ba9b7b379b58c61e
7
+ data.tar.gz: 9a2a5400a80263b2d3d92081b1e7efa94bb251c28c741b74a1ac86c8ff68c8bb03dceef8fa202fbbd8bf52779b738f46804777fe4ff20135d1b9a5255540a101
@@ -177,6 +177,7 @@ module TripletexRubyClient
177
177
  # @param invoice_id Invoice ID from which PDF is downloaded.
178
178
  # @param [Hash] opts the optional parameters
179
179
  # @option opts [BOOLEAN] :download Equals (default to true)
180
+ # @option opts [String] :return_type 'String' type set as default
180
181
  # @return [String]
181
182
  def download_pdf(invoice_id, opts = {})
182
183
  data, _status_code, _headers = download_pdf_with_http_info(invoice_id, opts)
@@ -188,6 +189,7 @@ module TripletexRubyClient
188
189
  # @param invoice_id Invoice ID from which PDF is downloaded.
189
190
  # @param [Hash] opts the optional parameters
190
191
  # @option opts [BOOLEAN] :download Equals
192
+ # @option opts [String] :return_type 'String' type set as default
191
193
  # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
192
194
  def download_pdf_with_http_info(invoice_id, opts = {})
193
195
  if @api_client.config.debugging
@@ -212,6 +214,9 @@ module TripletexRubyClient
212
214
  # form parameters
213
215
  form_params = {}
214
216
 
217
+ # return_type
218
+ return_type = opts[:'return_type'] || 'String'
219
+
215
220
  # http body (model)
216
221
  post_body = nil
217
222
  auth_names = ['tokenAuthScheme']
@@ -221,7 +226,7 @@ module TripletexRubyClient
221
226
  :form_params => form_params,
222
227
  :body => post_body,
223
228
  :auth_names => auth_names,
224
- :return_type => 'String')
229
+ :return_type => return_type)
225
230
  if @api_client.config.debugging
226
231
  @api_client.config.logger.debug "API called: InvoiceApi#download_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
227
232
  end
@@ -1,3 +1,3 @@
1
1
  module TripletexRubyClient
2
- VERSION = '1.0.8'
2
+ VERSION = '1.0.9'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tripletex_ruby_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - oma
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-03 00:00:00.000000000 Z
11
+ date: 2023-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -2754,7 +2754,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
2754
2754
  - !ruby/object:Gem::Version
2755
2755
  version: '0'
2756
2756
  requirements: []
2757
- rubygems_version: 3.3.7
2757
+ rubygems_version: 3.4.1
2758
2758
  signing_key:
2759
2759
  specification_version: 4
2760
2760
  summary: Tripletex API Ruby Client Gem