papierkram_api_client 0.1.1 → 0.1.3

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: e83fe5b72132c8bb2e67a0afd7106879f49b9af5d06c0500d7903e0d8f971b99
4
- data.tar.gz: c384418b97587181a3d209070b761f1139c892c072b0b2d540c8d31788d842b8
3
+ metadata.gz: 5ad6eb6ad8c0a3e4bd834cfd8162eec1de325fca9d7eac9eaba3803e38d2bdce
4
+ data.tar.gz: 6a382f2ae7f48217a42edf5a8c65d4f4b6ac302e7025dfbd030e43cf8d62fc8c
5
5
  SHA512:
6
- metadata.gz: 9a99960d3011b4ab47285245cd1e83c9af3f84edf8052781e3a8481fef0bdbd0ee7433bc563b53e45c3431b7ceb9a595bb58c5f89f19424cf3d68bb172c21de9
7
- data.tar.gz: 04fb0d5c5d12a235bc8c718ec40443e502ec26a45597c663c0c58d61cc2599a081677ae0b448c1d9a07445995d918d4799572165a0e6d8d47c2bcc3bf57afa7e
6
+ metadata.gz: a54dc382abc5083ac943853d6331a19aef63e3ba1560d6e36c40e2fade3577b8e3d5a131b80c51962385fea8df0084c46197a30035f7f953931a5161a6a32644
7
+ data.tar.gz: af47f4d1001746a9e28d6706b49bad8eab5b3f5855ffd57919c39068792451a73c02e4a1b6fc3ad4f8de955828251fcf337bc38462892792fa0e158a80f0c5fe
data/.rubocop.yml CHANGED
@@ -5,6 +5,7 @@ AllCops:
5
5
  NewCops: enable
6
6
  TargetRubyVersion: 2.7
7
7
  Exclude:
8
+ - "vendor/**/*"
8
9
  - "papierkram_api_client.gemspec"
9
10
 
10
11
  Metrics/BlockLength:
data/CHANGELOG.md CHANGED
@@ -1,9 +1,35 @@
1
+ ## [0.1.3] - 2023-04-15
2
+
3
+ Solltest du diesen Client mithilfe von Umgebungsvariablen einrichten, musst du deinen Code aktualisieren, um die neuen Variablen zu verwenden. Siehe `.env.sample` für die aktualisierten Variablen.
4
+
5
+ - `PAPIERKRAM_SUBDOMAIN` ist jetzt `PAPIERKRAM_API_SUBDOMAIN`
6
+
7
+ ### Changed
8
+
9
+ [#17](https://github.com/simonneutert/papierkram_api_client/pull/17) tests expense vouchers endpoint and parameters. [@simonneutert](https://github.com/simonneutert)
10
+
11
+ ## [0.1.2] - 2023-04-13
12
+
13
+ ### Fixed
14
+
15
+ - [#10](https://github.com/simonneutert/papierkram_api_client/pull/10) Rubocop nun Teil der CI Pipeline und Hinweise auf Parameter für die API Calls in der Dokumentation. [@simonneutert](https://github.com/simonneutert)
16
+
17
+ ### Changed
18
+
19
+ - [#11](https://github.com/simonneutert/papierkram_api_client/pull/11) Create .github/dependabot.yml. [@simonneutert](https://github.com/simonneutert)
20
+ - [#9](https://github.com/simonneutert/papierkram_api_client/pull/9) Hinweis VCR/Testing in Readme. [@simonneutert](https://github.com/simonneutert)
21
+ - [#8](https://github.com/simonneutert/papierkram_api_client/pull/8) Ergänzt Schnellstart Kapitel in Readme. [@simonneutert](https://github.com/simonneutert)
22
+ - [#7](https://github.com/simonneutert/papierkram_api_client/pull/7) Logo Version 3. [@rabocalypse](https://github.com/rabocalypse)
23
+ - [#5](https://github.com/simonneutert/papierkram_api_client/pull/5) Logo geändert. [@rabocalypse](https://github.com/rabocalypse)
24
+ - [#4](https://github.com/simonneutert/papierkram_api_client/pull/4) Verbesserung der Docs für PDF endpoints. [@simonneutert](https://github.com/simonneutert)
25
+ - [#3](https://github.com/simonneutert/papierkram_api_client/pull/3) Readme angepasst. [@simonneutert](https://github.com/simonneutert)
26
+
1
27
  ## [0.1.1] - 2023-04-12
2
28
 
3
29
  ### Changed
4
30
 
5
- [#2](https://github.com/simonneutert/papierkram_api_client/pull/2) Changelog und Readme angepasst. [@simonneutert](https://github.com/simonneutert)
6
- [#1](https://github.com/simonneutert/papierkram_api_client/pull/1) Logo hinzugefügt, in Readme eingebaut. [@rabocalypse](https://github.com/rabocalypse)
31
+ - [#2](https://github.com/simonneutert/papierkram_api_client/pull/2) Changelog und Readme angepasst. [@simonneutert](https://github.com/simonneutert)
32
+ - [#1](https://github.com/simonneutert/papierkram_api_client/pull/1) Logo hinzugefügt, in Readme eingebaut. [@rabocalypse](https://github.com/rabocalypse)
7
33
 
8
34
  ## [0.1.0] - 2023-04-12
9
35
 
data/Gemfile CHANGED
@@ -9,6 +9,6 @@ gem 'minitest', '~> 5.0'
9
9
  gem 'minitest-vcr', '~> 1.4'
10
10
  gem 'pry', '~> 0.14.2'
11
11
  gem 'rake', '~> 13.0'
12
- gem 'rubocop', '~> 1.48'
12
+ gem 'rubocop', '~> 1.50'
13
13
  gem 'rubocop-minitest', '~> 0.30.0'
14
14
  gem 'vcr', '~> 6.1'
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- papierkram_api_client (0.1.1)
4
+ papierkram_api_client (0.1.3)
5
5
  faraday (~> 2.7)
6
6
  httpx (~> 0.22.5)
7
7
 
@@ -36,14 +36,14 @@ GEM
36
36
  rake (13.0.6)
37
37
  regexp_parser (2.7.0)
38
38
  rexml (3.2.5)
39
- rubocop (1.48.1)
39
+ rubocop (1.50.1)
40
40
  json (~> 2.3)
41
41
  parallel (~> 1.10)
42
42
  parser (>= 3.2.0.0)
43
43
  rainbow (>= 2.2.2, < 4.0)
44
44
  regexp_parser (>= 1.8, < 3.0)
45
45
  rexml (>= 3.2.5, < 4.0)
46
- rubocop-ast (>= 1.26.0, < 2.0)
46
+ rubocop-ast (>= 1.28.0, < 2.0)
47
47
  ruby-progressbar (~> 1.7)
48
48
  unicode-display_width (>= 2.4.0, < 3.0)
49
49
  rubocop-ast (1.28.0)
@@ -66,7 +66,7 @@ DEPENDENCIES
66
66
  papierkram_api_client!
67
67
  pry (~> 0.14.2)
68
68
  rake (~> 13.0)
69
- rubocop (~> 1.48)
69
+ rubocop (~> 1.50)
70
70
  rubocop-minitest (~> 0.30.0)
71
71
  vcr (~> 6.1)
72
72
 
data/README.md CHANGED
@@ -1,12 +1,22 @@
1
1
  # Papierkram API Client<!-- omit in toc -->
2
2
 
3
+ [![Ruby](https://github.com/simonneutert/papierkram_api_client/actions/workflows/main.yml/badge.svg?branch=main)](https://github.com/simonneutert/papierkram_api_client/actions/workflows/main.yml)
4
+
3
5
  Der erste ~~illegale~~ inoffizielle API Client in [Ruby](https://www.ruby-lang.org/de/) für [Papierkram.de](https://www.papierkram.de)!
4
6
 
5
- <img src="pac.svg" alt="PAC Logo, Zunge leckt an Karl Klammer und zieht Daten aus dem Papierkram-Account wie Frosch die Fliege vom Teich" width="250">
7
+ <img src="pac.svg" alt="PAC Logo, Zunge leckt an Karl Klammer und zieht Daten aus dem Papierkram-Account wie Frosch die Fliege vom Teich" width="300">
8
+
9
+ ---
10
+
11
+ **WERBUNG** (es ist ein Aufruf zur Mitarbeit 🫠)
12
+ JETZT NEU! Ohne Lack und frei von Glamour!
13
+ Das Gleiche, nur in grün, also für [NodeJS](https://github.com/simonneutert/papierkram-api-client). Und als Mega-Baustelle 😬
14
+
15
+ ---
6
16
 
7
17
  **WICHTIG** Dieses Projekt befindet sich im Entwicklungsstatus bis V1.0.0! Ich werde versuchen, die Änderungen so gut wie möglich zu dokumentieren. Wenn du einen Fehler findest, kannst du gerne einen Issue erstellen oder einen Pull Request mit einer Verbesserung erstellen. Ich freue mich über jede Hilfe!
8
18
 
9
- > 🚨 **Bitte beachte**, dass DU UNBEDINGT die Requests/Responses (VCR Cassettes) von privaten Daten befreien musst, bevor du einen Pull Request erstellst oder einen Commit ins Web lädst! Ich werde die Cassettes auch nochmal durchgehen, bevor ich die Version 1.0.0 veröffentliche. ABER BITTE, BITTE, BITTE, mach das selbst auch! Ich habe keine Lust, dass irgendwelche Daten von dir oder deinen Kunden auf Github landen. Danke! 🙏
19
+ > 🚨 **Bitte beachte**, dass DU UNBEDINGT die Requests/Responses der VCR Cassettes (die ausschliesslich bei Nutzung der Testsuite angelegt werden) von privaten Daten befreien musst, bevor du einen Pull Request erstellst oder einen Commit ins Web lädst! Ich werde die Cassettes auch nochmal durchgehen, bevor ich die Version 1.0.0 veröffentliche. ABER BITTE, BITTE, BITTE, mach das selbst auch! Ich habe keine Lust, dass irgendwelche Daten von dir oder deinen Kunden auf Github landen. Danke! 🙏
10
20
 
11
21
  Check das [CHANGELOG.md](CHANGELOG.md), Baby!
12
22
 
@@ -47,6 +57,7 @@ Ziele:
47
57
  ---
48
58
 
49
59
  - [Installation](#installation)
60
+ - [Schnellstart](#schnellstart)
50
61
  - [API Client](#api-client)
51
62
  - [Initialisierung](#initialisierung)
52
63
  - [Banking::BankConnection (Bankverbindung)](#bankingbankconnection-bankverbindung)
@@ -80,6 +91,7 @@ Ziele:
80
91
  - [ein Projekt](#ein-projekt)
81
92
  - [Tracker::Task (Aufgabe)](#trackertask-aufgabe)
82
93
  - [alle Aufgaben](#alle-aufgaben)
94
+ - [eine Aufgabe](#eine-aufgabe)
83
95
  - [Tracker::TimeEntry (Zeiteintrag)](#trackertimeentry-zeiteintrag)
84
96
  - [alle Zeiteinträge](#alle-zeiteinträge)
85
97
  - [einen Zeiteintrag](#einen-zeiteintrag)
@@ -92,8 +104,6 @@ Ziele:
92
104
 
93
105
  ## Installation
94
106
 
95
- TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
96
-
97
107
  Install the gem and add to the application's Gemfile by executing:
98
108
 
99
109
  $ bundle add papierkram_api_client
@@ -102,6 +112,32 @@ If bundler is not being used to manage dependencies, install the gem by executin
102
112
 
103
113
  $ gem install papierkram_api_client
104
114
 
115
+ ## Schnellstart
116
+
117
+ 1. Repository klonen
118
+ 2. `bundle install`
119
+ 3. `bin/console`
120
+
121
+ ```ruby
122
+ # client instanziieren
123
+
124
+ # wenn ENV gesetzt sind (siehe Readme)
125
+ client = PapierkramApiClient::Client.new
126
+
127
+ # ODER per Variablen
128
+ client = PapierkramApiClient::Client.new('subdomain', "YOUR-API-KEY");
129
+
130
+ # info Endpunkt abfragen
131
+ info_details = client.info.details
132
+ puts info_details.headers
133
+ puts info_details.body
134
+
135
+ # erste Seite von "allen Rechnungen" abfragen
136
+ invoices = client.income_invoices.all(page: 1, page_size: 5)
137
+ puts invoices.headers
138
+ puts invoices.body
139
+ ```
140
+
105
141
  ## API Client
106
142
 
107
143
  Der API Client ist die Hauptklasse für die Kommunikation mit der Papierkram API. Er wird mit den Zugangsdaten initialisiert.
@@ -120,7 +156,7 @@ Entweder werden die Zugangsdaten als Argumente übergeben:
120
156
  client = PapierkramApiClient::Client.new('subdomain', "SUPER-LONG-API-KEY")
121
157
  ```
122
158
 
123
- Oder es werden die Umgebungsvariablen `PAPIERKRAM_SUBDOMAIN` und `PAPIERKRAM_API_KEY` gesetzt und der Client ohne Argumente initialisiert.
159
+ Oder es werden die Umgebungsvariablen `PAPIERKRAM_API_SUBDOMAIN` und `PAPIERKRAM_API_KEY` gesetzt und der Client ohne Argumente initialisiert.
124
160
 
125
161
  ```ruby
126
162
  # usage with environment variables
@@ -131,7 +167,7 @@ client = PapierkramApiClient::Client.new
131
167
 
132
168
  Der Endpunkt `/api/v1/banking/bank_connections` liefert Informationen über die Bankverbindungen. Die Informationen werden als `Faraday::Response` zurückgegeben.
133
169
 
134
- [BankConnections](/lib/api/v1/banking/bank_connections.rb)
170
+ Siehe [BankConnections](/lib/api/v1/banking/bank_connections.rb) für mögliche Parameter.
135
171
 
136
172
  #### alle Bankverbindungen
137
173
 
@@ -200,7 +236,7 @@ WORK IN PROGRESS
200
236
 
201
237
  Der Endpunkt `/api/v1/contact/companies` liefert Informationen über die Unternehmen. Die Informationen werden als `Faraday::Response` zurückgegeben.
202
238
 
203
- [Companies](/lib/api/v1/contact/companies.rb)
239
+ Siehe [Companies](/lib/api/v1/contact/companies.rb) für mögliche Parameter.
204
240
 
205
241
  #### alle Unternehmen
206
242
 
@@ -222,6 +258,8 @@ puts company.body
222
258
 
223
259
  Der Endpunkt `/api/v1/contact/companies/{company_id}` liefert Informationen über die Kontaktpersonen. Die Informationen werden als `Faraday::Response` zurückgegeben.
224
260
 
261
+ Siehe [CompaniesPersons](/lib/api/v1/contact/companies_persons.rb) für mögliche Parameter.
262
+
225
263
  #### alle Kontaktpersonen (eines Unternehmens)
226
264
 
227
265
  ```ruby
@@ -242,7 +280,7 @@ puts company.body
242
280
 
243
281
  Der Endpunkt `/api/v1/expense/vouchers` liefert Informationen über die Ausgabe Belege. Die Informationen werden als `Faraday::Response` zurückgegeben.
244
282
 
245
- [Vouchers](/lib/api/v1/expense/vouchers.rb)
283
+ Siehe [Vouchers](/lib/api/v1/expense/vouchers.rb) für mögliche Parameter.
246
284
 
247
285
  #### alle Ausgabe Belege
248
286
 
@@ -263,15 +301,16 @@ puts voucher.body
263
301
  #### einen Ausgabe Beleg als PDF
264
302
 
265
303
  ```ruby
266
- voucher = client.expense.vouchers.pdf(id: 1, pdf: true)
267
- puts Api::V1::Helpers::PdfFromResponse.new(voucher).to_pdf # => {response: Faraday::Response, path_to_pdf_file: 'path/to/tempfile_pdf.pdf'}
304
+ voucher = client.expense.vouchers.by(id: 1, pdf: true)
305
+ puts Api::V1::Helpers::PdfFromResponse.new(voucher).to_pdf
306
+ # => {response: Faraday::Response, path_to_pdf_file: 'path/to/tempfile_pdf.pdf'}
268
307
  ```
269
308
 
270
309
  ### Income::Estimate (Angebot)
271
310
 
272
311
  Der Endpunkt `/api/v1/income/estimates` liefert Informationen über die Angebote. Die Informationen werden als `Faraday::Response` zurückgegeben.
273
312
 
274
- [Estimates](/lib/api/v1/income/estimates.rb)
313
+ Siehe [Estimates](/lib/api/v1/income/estimates.rb) für mögliche Parameter.
275
314
 
276
315
  #### alle Angebote
277
316
 
@@ -292,15 +331,16 @@ puts estimate.body
292
331
  #### ein Angebot als PDF
293
332
 
294
333
  ```ruby
295
- estimate = client.income.estimates.pdf(id: 1, pdf: true)
296
- puts Api::V1::Helpers::PdfFromResponse.new(estimate).to_pdf # => {response: Faraday::Response, path_to_pdf_file: 'path/to/tempfile_pdf.pdf'}
334
+ estimate = client.income.estimates.by(id: 1, pdf: true)
335
+ puts Api::V1::Helpers::PdfFromResponse.new(estimate).to_pdf
336
+ # => {response: Faraday::Response, path_to_pdf_file: 'path/to/tempfile_pdf.pdf'}
297
337
  ```
298
338
 
299
339
  ### Income::Invoice (Rechnung)
300
340
 
301
341
  Der Endpunkt `/api/v1/income/invoices` liefert Informationen über die Rechnungen. Die Informationen werden als `Faraday::Response` zurückgegeben.
302
342
 
303
- [Invoices](/lib/api/v1/income/invoices.rb)
343
+ Siehe [Invoices](/lib/api/v1/income/invoices.rb) für mögliche Parameter.
304
344
 
305
345
  #### alle Rechnungen
306
346
 
@@ -321,15 +361,16 @@ puts invoice.body
321
361
  #### eine Rechnung als PDF
322
362
 
323
363
  ```ruby
324
- invoice = client.income.invoices.pdf(id: 1, pdf: true)
325
- puts Api::V1::Helpers::PdfFromResponse.new(invoice).to_pdf # => {response: Faraday::Response, path_to_pdf_file: 'path/to/tempfile_pdf.pdf'}
364
+ invoice = client.income.invoices.by(id: 1, pdf: true)
365
+ puts Api::V1::Helpers::PdfFromResponse.new(invoice).to_pdf
366
+ # => {response: Faraday::Response, path_to_pdf_file: 'path/to/tempfile_pdf.pdf'}
326
367
  ```
327
368
 
328
369
  ### Income::Proposition (Waren / Dienstleistungen)
329
370
 
330
371
  Der Endpunkt `/api/v1/income/propositions` liefert Informationen über die Waren / Dienstleistungen. Die Informationen werden als `Faraday::Response` zurückgegeben.
331
372
 
332
- [Propositions](/lib/api/v1/income/propositions.rb)
373
+ Siehe [Propositions](/lib/api/v1/income/propositions.rb) für mögliche Parameter.
333
374
 
334
375
  #### alle Waren / Dienstleistungen
335
376
 
@@ -351,7 +392,7 @@ puts proposition.body
351
392
 
352
393
  Der Endpunkt `/api/v1/info` liefert Informationen über die API. Die Informationen werden als `Faraday::Response` zurückgegeben.
353
394
 
354
- [Info](/lib/api/v1/info.rb)
395
+ Siehe [Info](/lib/api/v1/info.rb).
355
396
 
356
397
  ```ruby
357
398
  info = client.info.details
@@ -363,7 +404,7 @@ puts info.body
363
404
 
364
405
  Der Endpunkt `/api/v1/projects` liefert Informationen über die Projekte. Die Informationen werden als `Faraday::Response` zurückgegeben.
365
406
 
366
- [Projects](/lib/api/v1/projects.rb)
407
+ Siehe [Projects](/lib/api/v1/projects.rb) für mögliche Parameter.
367
408
 
368
409
  #### alle Projekte
369
410
 
@@ -385,14 +426,24 @@ puts project.body
385
426
 
386
427
  Der Endpunkt `/api/v1/tracker/tasks` liefert Informationen über die Aufgaben. Die Informationen werden als `Faraday::Response` zurückgegeben.
387
428
 
429
+ Siehe [Tasks](/lib/api/v1/tracker/tasks.rb) für mögliche Parameter.
430
+
388
431
  #### alle Aufgaben
389
432
 
390
433
  ```ruby
391
- tasks = client.tracker.tasks.all
434
+ tasks = client.tracker_tasks.all
392
435
  puts tasks.headers
393
436
  puts tasks.body
394
437
  ```
395
438
 
439
+ #### eine Aufgabe
440
+
441
+ ```ruby
442
+ task = client.tracker_tasks.by(id: 1)
443
+ puts task.headers
444
+ puts task.body
445
+ ```
446
+
396
447
  ### Tracker::TimeEntry (Zeiteintrag)
397
448
 
398
449
  Der Endpunkt `/api/v1/tracker/time_entries` liefert Informationen über die Zeiteinträge. Die Informationen werden als `Faraday::Response` zurückgegeben.
@@ -402,7 +453,7 @@ Der Endpunkt `/api/v1/tracker/time_entries` liefert Informationen über die Zeit
402
453
  #### alle Zeiteinträge
403
454
 
404
455
  ```ruby
405
- time_entries = client.tracker.time_entries.all
456
+ time_entries = client.tracker_time_entries.all
406
457
  puts time_entries.headers
407
458
  puts time_entries.body
408
459
  ```
@@ -410,7 +461,7 @@ puts time_entries.body
410
461
  #### einen Zeiteintrag
411
462
 
412
463
  ```ruby
413
- time_entry = client.tracker.time_entries.by(id: 1)
464
+ time_entry = client.tracker_time_entries.by(id: 1)
414
465
  puts time_entry.headers
415
466
  puts time_entry.body
416
467
  ```
@@ -444,7 +495,7 @@ Unterstützte Endpunkte sind beispielsweise: `Income::Estimate`, `Income::Invoic
444
495
  [Api::V1::Helpers::PdfFromResponse](/lib/api/v1/helpers/pdf_from_response.rb)
445
496
 
446
497
  ```ruby
447
- response = client.income.invoices.by(id: 1, pdf: true)
498
+ response = client.income_invoices.by(id: 1, pdf: true)
448
499
  pdf = Api::V1::Helpers::PdfFromResponse.new(response).to_pdf("Rechnung Nummer XXX")
449
500
  puts pdf
450
501
  ```
@@ -10,7 +10,6 @@ module Api
10
10
  return get("#{@url_api_path}/expense/vouchers/#{id}/pdf", nil,
11
11
  { headers: { 'Content-Type' => 'application/pdf' } })
12
12
  end
13
-
14
13
  get("#{@url_api_path}/expense/vouchers/#{id}")
15
14
  end
16
15
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PapierkramApiClient
4
- VERSION = '0.1.1'
4
+ VERSION = '0.1.3'
5
5
  end
@@ -35,7 +35,7 @@ module PapierkramApiClient
35
35
  def_delegators :@client, :get, :post, :put, :patch, :delete
36
36
 
37
37
  def initialize(subdomain = nil, api_key = nil)
38
- @subdomain = subdomain || ENV.fetch('PAPIERKRAM_SUBDOMAIN', nil)
38
+ @subdomain = subdomain || ENV.fetch('PAPIERKRAM_API_SUBDOMAIN', nil)
39
39
  @api_key = api_key || ENV.fetch('PAPIERKRAM_API_KEY', nil)
40
40
  @base_url = base_url_env
41
41
  @remaining_quota = nil
@@ -58,7 +58,7 @@ module PapierkramApiClient
58
58
 
59
59
  def banking_transactions
60
60
  raise ArgumentError, 'not implemented'
61
- @banking_transactions ||= Api::V1::Banking::Transactions.new(@client)
61
+ # @banking_transactions ||= Api::V1::Banking::Transactions.new(@client)
62
62
  end
63
63
 
64
64
  def contact_companies
data/pac.svg CHANGED
@@ -1 +1 @@
1
- <svg version="1.2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1080 966" width="1080" height="966"><style>.a{fill:#fff}</style><path d="m188 82.1v-55h-158.6v595.8h158.6v-247.9c19.2 36.4 57.1 60 110.7 60 92.8 0 166.4-76.4 166.4-206.4 0-130-73.6-206.5-166.4-206.5-53.6 0-91.5 23.6-110.7 60zm116.4 146.5c0 44.3-25.7 67.8-58.6 67.8-32.8 0-58.6-23.5-58.6-67.8 0-44.3 25.8-67.9 58.6-67.9 32.9 0 58.6 23.6 58.6 67.9z"/><path d="m488.9 351.6c0 130 73.6 206.4 166.5 206.4 53.5 0 92.1-23.6 111.4-60v55h157.9v-402.9h-157.9v55c-19.3-36.4-57.9-60-111.4-60-92.9 0-166.5 76.5-166.5 206.5zm277.9 0c0 44.3-25.7 67.8-58.6 67.8-32.8 0-58.6-23.5-58.6-67.8 0-44.3 25.8-67.9 58.6-67.9 32.9 0 58.6 23.6 58.6 67.9z"/><path d="m727 424.8c-21 0-38.1-17-38.1-38.1 0-21.1 17.1-38.1 38.1-38.1 21.1 0 38.1 17 38.1 38.1 0 21.1-17 38.1-38.1 38.1z"/><path d="m227 301c-21.1 0-38.1-17.1-38.1-38.1 0-21.1 17-38.1 38.1-38.1 21.1 0 38.1 17 38.1 38.1 0 21-17 38.1-38.1 38.1z"/><path d="m203.2 723.6c0 128.5 85 206.4 205.7 206.4 103.6 0 181.5-61.4 200.7-167.2h-167.8c-5.7 19.3-16.4 31.5-36.4 31.5-24.3 0-41.5-22.2-41.5-70.7 0-48.6 17.2-70.8 41.5-70.8 20 0 30.7 12.2 36.4 31.5h167.8c-19.2-105.7-97.1-167.2-200.7-167.2-120.7 0-205.7 77.9-205.7 206.5z"/><path class="a" d="m479.4 643.8c-21.1 0-38.1-17-38.1-38.1 0-21 17-38.1 38.1-38.1 21.1 0 38.1 17.1 38.1 38.1 0 21.1-17 38.1-38.1 38.1z"/><path d="m481.8 629.6c-11.9 0-21.4-9.6-21.4-21.5 0-11.8 9.5-21.4 21.4-21.4 11.8 0 21.4 9.6 21.4 21.4 0 11.9-9.6 21.5-21.4 21.5z"/><path d="m245.7 773.6l-3.7-14.8c0 0 527.5-84.2 682.8-74.7 87.6 5.3 84.9 42.7 26.7 36.9-124.7-12.3-705.8 52.6-705.8 52.6z"/><path d="m1015.4 596.9l-56.5 38.1q-6.1 3.9-7.9 11.3-1.7 6.9 1.6 12.8 3.2 5.8 9.5 7.3 6.8 1.7 12.8-2.5l39.9-26.8q1-0.7 1.2-1.7 0.3-1.3-1.4-4.5-1.8-3.2-3-3.5-0.9-0.2-1.9 0.4l-39.9 26.9q-2.6 1.6-5.1 1-2.2-0.6-3.3-2.5-1.1-2-0.5-4.4 0.7-2.9 3.1-4.6l56.5-38.1q6.2-4.1 12.5-2.6 4.9 1.2 7.3 5.5 2.4 4.4 1.1 9.7-1.7 6.9-7.8 11.1l-75.6 50.8q-7.4 4.9-15.5 3-8.2-2-12.5-9.5-4.3-7.5-2.1-16.5 2.1-8.5 9.6-13.7l59.1-39.7q0.9-0.7 1.2-1.8 0.3-1.3-1.4-4.4-1.7-3.2-3-3.5-0.9-0.2-1.9 0.5l-58.9 39.6q-11.1 7.5-14.3 20.8-3.2 13.4 3.1 24.7 6.3 11.3 18.6 14.3 12 2.9 23.2-4.5l75.5-50.9q9.7-6.5 12.5-17.9 2.4-9.8-2.1-17.9-4.5-8.2-13.5-10.3-10.6-2.6-20.2 4z"/></svg>
1
+ <svg version="1.2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1798 623" width="1798" height="623"><style>.a{fill:#fff}</style><path d="m172 70.1v-55h-158.6v595.8h158.6v-247.9c19.2 36.4 57.1 60 110.7 60 92.8 0 166.4-76.4 166.4-206.4 0-130-73.6-206.5-166.4-206.5-53.6 0-91.5 23.6-110.7 60zm116.4 146.5c0 44.3-25.7 67.8-58.6 67.8-32.8 0-58.6-23.5-58.6-67.8 0-44.3 25.8-67.9 58.6-67.9 32.9 0 58.6 23.6 58.6 67.9z"/><path d="m267 276c-21.1 0-38.1-17.1-38.1-38.1 0-21.1 17-38.1 38.1-38.1 21.1 0 38.1 17 38.1 38.1 0 21-17 38.1-38.1 38.1z"/><path d="m474.9 217.6c0 130 73.6 206.4 166.5 206.4 53.5 0 92.1-23.6 111.4-60v55h157.9v-402.9h-157.9v55c-19.3-36.4-57.9-60-111.4-60-92.9 0-166.5 76.5-166.5 206.5zm277.9 0c0 44.3-25.7 67.8-58.6 67.8-32.8 0-58.6-23.5-58.6-67.8 0-44.3 25.8-67.9 58.6-67.9 32.9 0 58.6 23.6 58.6 67.9z"/><path d="m734 275.8c-21 0-38.1-17-38.1-38.1 0-21.1 17.1-38.1 38.1-38.1 21.1 0 38.1 17 38.1 38.1 0 21.1-17 38.1-38.1 38.1z"/><path d="m935.2 217.6c0 128.5 85 206.4 205.7 206.4 103.6 0 181.5-61.4 200.7-167.2h-167.8c-5.7 19.3-16.4 31.5-36.4 31.5-24.3 0-41.5-22.2-41.5-70.7 0-48.6 17.2-70.8 41.5-70.8 20 0 30.7 12.2 36.4 31.5h167.8c-19.2-105.7-97.1-167.2-200.7-167.2-120.7 0-205.7 77.9-205.7 206.5z"/><path class="a" d="m1211.4 137.8c-21.1 0-38.1-17-38.1-38.1 0-21 17-38.1 38.1-38.1 21.1 0 38.1 17.1 38.1 38.1 0 21.1-17 38.1-38.1 38.1z"/><path d="m1213.8 123.6c-11.9 0-21.4-9.6-21.4-21.5 0-11.8 9.5-21.4 21.4-21.4 11.8 0 21.4 9.6 21.4 21.4 0 11.9-9.6 21.5-21.4 21.5z"/><path d="m977.7 267.6l-3.7-14.8c0 0 527.5-84.2 682.8-74.7 87.6 5.3 84.9 42.7 26.7 36.9-124.7-12.3-705.8 52.6-705.8 52.6z"/><path d="m1747.4 90.9l-56.5 38.1q-6.1 3.9-7.9 11.3-1.7 6.9 1.6 12.8 3.2 5.8 9.5 7.3 6.8 1.7 12.8-2.5l39.9-26.8q1-0.7 1.2-1.7 0.3-1.3-1.4-4.5-1.8-3.2-3-3.5-0.9-0.2-1.9 0.4l-39.9 26.9q-2.6 1.6-5.1 1-2.2-0.6-3.3-2.5-1.1-2-0.5-4.4 0.7-2.9 3.1-4.6l56.5-38.1q6.2-4.1 12.5-2.6 4.9 1.2 7.3 5.5 2.4 4.4 1.1 9.7-1.7 6.9-7.8 11.1l-75.6 50.8q-7.4 4.9-15.5 3-8.2-2-12.5-9.5-4.3-7.5-2.1-16.5 2.1-8.5 9.6-13.7l59.1-39.7q0.9-0.7 1.2-1.8 0.3-1.3-1.4-4.4-1.7-3.2-3-3.5-0.9-0.2-1.9 0.5l-58.9 39.6q-11.1 7.5-14.3 20.8-3.2 13.4 3.1 24.7 6.3 11.3 18.6 14.3 12 2.9 23.2-4.5l75.5-50.9q9.7-6.5 12.5-17.9 2.4-9.8-2.1-17.9-4.5-8.2-13.5-10.3-10.6-2.6-20.2 4z"/></svg>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: papierkram_api_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simon Neutert
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-04-12 00:00:00.000000000 Z
11
+ date: 2023-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday