easybill-rest-client 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +6 -0
  3. data/Gemfile.lock +152 -0
  4. data/README.md +8 -0
  5. data/Rakefile +4 -0
  6. data/config.json +5 -0
  7. data/easybill-rest-client.gemspec +29 -0
  8. data/lib/easybill-rest-client.rb +15 -0
  9. data/lib/easybill_rest_client/.document_address.rb.swp +0 -0
  10. data/lib/easybill_rest_client/.document_item.rb.swp +0 -0
  11. data/lib/easybill_rest_client/.document_payment.rb.swp +0 -0
  12. data/lib/easybill_rest_client/.document_recurring_options.rb.swp +0 -0
  13. data/lib/easybill_rest_client/.easybill_error.rb.swp +0 -0
  14. data/lib/easybill_rest_client/.log_formatter.rb.swp +0 -0
  15. data/lib/easybill_rest_client/.request_builder.rb.swp +0 -0
  16. data/lib/easybill_rest_client/.too_many_requests_error.rb.swp +0 -0
  17. data/lib/easybill_rest_client/api_client.rb +61 -0
  18. data/lib/easybill_rest_client/client.rb +39 -0
  19. data/lib/easybill_rest_client/customer.rb +70 -0
  20. data/lib/easybill_rest_client/customer_api.rb +15 -0
  21. data/lib/easybill_rest_client/document.rb +53 -0
  22. data/lib/easybill_rest_client/document_address.rb +19 -0
  23. data/lib/easybill_rest_client/document_api.rb +31 -0
  24. data/lib/easybill_rest_client/document_item.rb +34 -0
  25. data/lib/easybill_rest_client/document_payment.rb +15 -0
  26. data/lib/easybill_rest_client/document_payment_api.rb +15 -0
  27. data/lib/easybill_rest_client/document_recurring_options.rb +23 -0
  28. data/lib/easybill_rest_client/document_service_date.rb +12 -0
  29. data/lib/easybill_rest_client/generic_api.rb +39 -0
  30. data/lib/easybill_rest_client/pdf.rb +21 -0
  31. data/lib/easybill_rest_client/post_box.rb +24 -0
  32. data/lib/easybill_rest_client/post_box_api.rb +15 -0
  33. data/lib/easybill_rest_client/request.rb +107 -0
  34. data/lib/easybill_rest_client/request_logger.rb +24 -0
  35. data/lib/easybill_rest_client/response.rb +36 -0
  36. data/lib/easybill_rest_client/retry_on.rb +46 -0
  37. data/lib/easybill_rest_client/version.rb +5 -0
  38. data/log/.gitkeep +0 -0
  39. data/log/test.log +5723 -0
  40. data/script/.generate.swo +0 -0
  41. data/spec/.spec_helper.rb.swp +0 -0
  42. data/spec/fixtures/vcr/EasybillRestClient_CustomerApi/_customers_get/.returns_customers.yml.swo +0 -0
  43. data/spec/fixtures/vcr/EasybillRestClient_CustomerApi/_customers_get/.returns_customers.yml.swp +0 -0
  44. data/spec/fixtures/vcr/EasybillRestClient_CustomerApi/a_list_of_customers/gets_all_customers.yml +84 -0
  45. data/spec/fixtures/vcr/EasybillRestClient_CustomerApi/a_list_of_customers/gets_customers_matching_a_filter.yml +72 -0
  46. data/spec/fixtures/vcr/EasybillRestClient_CustomerApi/creates_updates_and_deletes_customer.yml +377 -0
  47. data/spec/fixtures/vcr/EasybillRestClient_Document/_all/returns_documents.yml +44 -0
  48. data/spec/fixtures/vcr/EasybillRestClient_DocumentApi/_cancel/cancels_a_document.yml +212 -0
  49. data/spec/fixtures/vcr/EasybillRestClient_DocumentApi/_create/creates_a_document.yml +53 -0
  50. data/spec/fixtures/vcr/EasybillRestClient_DocumentApi/_delete/deletes_a_document.yml +174 -0
  51. data/spec/fixtures/vcr/EasybillRestClient_DocumentApi/_find/returns_a_document.yml +57 -0
  52. data/spec/fixtures/vcr/EasybillRestClient_DocumentApi/_find_all/paid_and_unpaid_documents_exist/returns_only_unpaid_documents.yml +795 -0
  53. data/spec/fixtures/vcr/EasybillRestClient_DocumentApi/_find_all/returns_documents.yml +58 -0
  54. data/spec/fixtures/vcr/EasybillRestClient_DocumentApi/_find_all/returns_documents_by_number.yml +58 -0
  55. data/spec/fixtures/vcr/EasybillRestClient_DocumentApi/_finish/marks_a_drafted_document_as_finished.yml +212 -0
  56. data/spec/fixtures/vcr/EasybillRestClient_DocumentApi/_get_pdf/returns_a_PDF.yml +3889 -0
  57. data/spec/fixtures/vcr/EasybillRestClient_DocumentApi/_send_email/passes_on_additional_params.yml +63 -0
  58. data/spec/fixtures/vcr/EasybillRestClient_DocumentApi/_send_email/sends_an_email.yml +63 -0
  59. data/spec/fixtures/vcr/EasybillRestClient_DocumentApi/_update/updates_a_document.yml +107 -0
  60. data/spec/fixtures/vcr/EasybillRestClient_DocumentPaymentApi/_create/creates_a_document_payment.yml +195 -0
  61. data/spec/fixtures/vcr/EasybillRestClient_DocumentPaymentApi/_delete/deletes_a_document_payment.yml +168 -0
  62. data/spec/fixtures/vcr/EasybillRestClient_DocumentPaymentApi/_document_payments_get/returns_a_document_s_payments.yml +460 -0
  63. data/spec/fixtures/vcr/EasybillRestClient_DocumentPaymentApi/_document_payments_post/creates_a_document_payment.yml +47 -0
  64. data/spec/fixtures/vcr/EasybillRestClient_DocumentPaymentApi/_find/returns_a_document_payment.yml +66 -0
  65. data/spec/fixtures/vcr/EasybillRestClient_DocumentPaymentApi/_find_all/returns_document_payments.yml +66 -0
  66. data/spec/fixtures/vcr/EasybillRestClient_PostBoxApi/_delete/deletes_a_post_box.yml +174 -0
  67. data/spec/fixtures/vcr/EasybillRestClient_PostBoxApi/_find/returns_a_post_box.yml +72 -0
  68. data/spec/fixtures/vcr/EasybillRestClient_PostBoxApi/_find_all/returns_post_boxes.yml +73 -0
  69. data/spec/fixtures/vcr/EasybillRestClient_PostBoxApi/_post_boxes_get/returns_post_boxes.yml +52 -0
  70. data/spec/integration/.customer_api_spec.rb.swn +0 -0
  71. data/spec/integration/.customer_api_spec.rb.swo +0 -0
  72. data/spec/integration/customer_api_spec.rb +47 -0
  73. data/spec/integration/easybill_rest_client/document_api_spec.rb +129 -0
  74. data/spec/integration/easybill_rest_client/document_payment_api_spec.rb +55 -0
  75. data/spec/integration/easybill_rest_client/post_box_api_spec.rb +31 -0
  76. data/spec/lib/easybill_rest_client/.api_client_spec.rb.swp +0 -0
  77. data/spec/lib/easybill_rest_client/easybill_rest_api/.generic_api_spec.rb.swp +0 -0
  78. data/spec/lib/easybill_rest_client/generic_api_spec.rb +55 -0
  79. data/spec/lib/easybill_rest_client/pdf_spec.rb +29 -0
  80. data/spec/lib/easybill_rest_client/request_logger_spec.rb +14 -0
  81. data/spec/lib/easybill_rest_client/request_spec.rb +32 -0
  82. data/spec/lib/easybill_rest_client/retry_on_spec.rb +37 -0
  83. data/spec/spec_helper.rb +33 -0
  84. data/spec/support/.setup_api_client.rb.swo +0 -0
  85. data/spec/support/setup_client.rb +12 -0
  86. data/swagger.json +3964 -0
  87. metadata +257 -0
@@ -0,0 +1,795 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api.easybill.de/rest/v1/customers
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"company_name":"ACME Corp.","emails":[],"last_name":"Mustermann"}'
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
16
+ Host:
17
+ - api.easybill.de
18
+ Authorization:
19
+ - Basic easybill-basic-auth-key
20
+ response:
21
+ status:
22
+ code: 201
23
+ message: Created
24
+ headers:
25
+ Server:
26
+ - nginx
27
+ Date:
28
+ - Wed, 20 Jul 2016 15:26:21 GMT
29
+ Content-Type:
30
+ - application/json
31
+ Transfer-Encoding:
32
+ - chunked
33
+ Connection:
34
+ - keep-alive
35
+ Cache-Control:
36
+ - private, must-revalidate
37
+ Pragma:
38
+ - no-cache
39
+ Expires:
40
+ - "-1"
41
+ Strict-Transport-Security:
42
+ - max-age=31536000
43
+ X-Frame-Options:
44
+ - SAMEORIGIN
45
+ X-Content-Type-Options:
46
+ - nosniff
47
+ X-Xss-Protection:
48
+ - 1; mode=block
49
+ Content-Security-Policy:
50
+ - 'default-src ''self''; connect-src ''self'' *.easybill.de *.paymill.de *.paymill.com;
51
+ script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.paymill.de *.paymill.com
52
+ *.google-analytics.com *.googleadservices.com d2wy8f7a9ursnm.cloudfront.net;
53
+ img-src ''self'' data: *.doubleclick.net notify.bugsnag.com *.paypalobjects.com
54
+ online.swagger.io *.google-analytics.com *.google.com *.google.de *.google.at
55
+ *.google.ch; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com; font-src
56
+ ''self'' themes.googleusercontent.com fonts.gstatic.com; frame-src ''self''
57
+ *.googleadservices.com ssl.kaptcha.com *.paymill.de *.paymill.com *.mediafinanz.de
58
+ *.google.de *.google.com *.google.at *.google.ch *.doubleclick.net player.vimeo.com
59
+ *.facebook.com; object-src ''self'''
60
+ body:
61
+ encoding: UTF-8
62
+ string: '{"acquire_options":null,"bank_account":null,"bank_account_owner":null,"bank_bic":null,"bank_code":null,"bank_iban":null,"bank_name":null,"birth_date":null,"cash_allowance":null,"cash_allowance_days":0,"cash_discount":null,"cash_discount_type":null,"city":null,"company_name":"ACME
63
+ Corp.","country":"DE","delivery_city":null,"delivery_company_name":null,"delivery_country":null,"delivery_first_name":null,"delivery_last_name":null,"delivery_personal":false,"delivery_salutation":0,"delivery_street":null,"delivery_suffix_1":null,"delivery_suffix_2":null,"delivery_zip_code":null,"emails":[],"fax":null,"first_name":null,"grace_period":null,"group_id":null,"id":75562448,"info_1":null,"info_2":null,"internet":null,"last_name":"Mustermann","login_id":20454,"mobile":null,"note":null,"number":"154213","payment_options":null,"personal":false,"phone_1":null,"phone_2":null,"postbox":null,"postbox_city":null,"postbox_country":null,"postbox_zip_code":null,"sale_price_level":null,"salutation":0,"sepa_agreement":null,"sepa_agreement_date":null,"sepa_mandate_reference":null,"since_date":null,"street":null,"suffix_1":null,"suffix_2":null,"tax_number":null,"tax_options":null,"title":null,"vat_identifier":null,"zip_code":null}'
64
+ http_version:
65
+ recorded_at: Wed, 20 Jul 2016 15:26:21 GMT
66
+ - request:
67
+ method: post
68
+ uri: https://api.easybill.de/rest/v1/documents
69
+ body:
70
+ encoding: UTF-8
71
+ string: '{"customer_id":75562448,"items":[]}'
72
+ headers:
73
+ Accept-Encoding:
74
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
75
+ Accept:
76
+ - "*/*"
77
+ User-Agent:
78
+ - Ruby
79
+ Host:
80
+ - api.easybill.de
81
+ Authorization:
82
+ - Basic easybill-basic-auth-key
83
+ response:
84
+ status:
85
+ code: 201
86
+ message: Created
87
+ headers:
88
+ Server:
89
+ - nginx
90
+ Date:
91
+ - Wed, 20 Jul 2016 15:26:22 GMT
92
+ Content-Type:
93
+ - application/json
94
+ Transfer-Encoding:
95
+ - chunked
96
+ Connection:
97
+ - keep-alive
98
+ Cache-Control:
99
+ - private, must-revalidate
100
+ Pragma:
101
+ - no-cache
102
+ Expires:
103
+ - "-1"
104
+ Strict-Transport-Security:
105
+ - max-age=31536000
106
+ X-Frame-Options:
107
+ - SAMEORIGIN
108
+ X-Content-Type-Options:
109
+ - nosniff
110
+ X-Xss-Protection:
111
+ - 1; mode=block
112
+ Content-Security-Policy:
113
+ - 'default-src ''self''; connect-src ''self'' *.easybill.de *.paymill.de *.paymill.com;
114
+ script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.paymill.de *.paymill.com
115
+ *.google-analytics.com *.googleadservices.com d2wy8f7a9ursnm.cloudfront.net;
116
+ img-src ''self'' data: *.doubleclick.net notify.bugsnag.com *.paypalobjects.com
117
+ online.swagger.io *.google-analytics.com *.google.com *.google.de *.google.at
118
+ *.google.ch; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com; font-src
119
+ ''self'' themes.googleusercontent.com fonts.gstatic.com; frame-src ''self''
120
+ *.googleadservices.com ssl.kaptcha.com *.paymill.de *.paymill.com *.mediafinanz.de
121
+ *.google.de *.google.com *.google.at *.google.ch *.doubleclick.net player.vimeo.com
122
+ *.facebook.com; object-src ''self'''
123
+ body:
124
+ encoding: UTF-8
125
+ string: '{"address":{"city":null,"company_name":"ACME Corp.","country":"DE","first_name":null,"last_name":"Mustermann","personal":false,"salutation":0,"street":null,"suffix_1":null,"suffix_2":null,"title":null,"zip_code":null},"amount":0,"amount_net":0,"bank_debit_form":null,"cancel_id":null,"cash_allowance":null,"cash_allowance_days":null,"cash_allowance_text":null,"contact_id":null,"contact_label":"","contact_text":"","created_at":"2016-07-20
126
+ 17:26:21","currency":"EUR","customer_id":75562448,"discount":null,"discount_type":null,"document_date":"2016-07-20","due_date":null,"edited_at":"2016-07-20
127
+ 17:26:21","grace_period":10,"id":91046858,"is_archive":false,"is_draft":true,"items":[],"label_address":{"city":null,"company_name":null,"country":null,"first_name":null,"last_name":null,"personal":false,"salutation":0,"street":null,"suffix_1":null,"suffix_2":null,"zip_code":null},"last_postbox_id":null,"login_id":20454,"number":null,"paid_amount":0,"paid_at":null,"pdf_pages":1,"pdf_template":null,"project_id":null,"ref_id":null,"service_date":{"type":"DEFAULT","date":"2016-07-20","date_from":null,"date_to":null,"text":null},"status":null,"text":"Vielen
128
+ Dank f\u00fcr Ihren Auftrag!\n\nBitte begleichen Sie den offenen Betrag bis
129
+ zum %DOKUMENT.DATUM-FAELLIG%.\n\nMit freundlichen Gr\u00fc\u00dfen\n\n%FIRMA.FIRMA%\n","text_prefix":"%KUNDE.ANREDE%,\nnachfolgend
130
+ berechnen wir Ihnen wie vorab besprochen:\n","title":null,"type":"INVOICE","use_shipping_address":false,"vat_option":null}'
131
+ http_version:
132
+ recorded_at: Wed, 20 Jul 2016 15:26:22 GMT
133
+ - request:
134
+ method: put
135
+ uri: https://api.easybill.de/rest/v1/documents/91046858/done
136
+ body:
137
+ encoding: UTF-8
138
+ string: "{}"
139
+ headers:
140
+ Accept-Encoding:
141
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
142
+ Accept:
143
+ - "*/*"
144
+ User-Agent:
145
+ - Ruby
146
+ Host:
147
+ - api.easybill.de
148
+ Authorization:
149
+ - Basic easybill-basic-auth-key
150
+ response:
151
+ status:
152
+ code: 200
153
+ message: OK
154
+ headers:
155
+ Server:
156
+ - nginx
157
+ Date:
158
+ - Wed, 20 Jul 2016 15:26:22 GMT
159
+ Content-Type:
160
+ - application/json
161
+ Transfer-Encoding:
162
+ - chunked
163
+ Connection:
164
+ - keep-alive
165
+ Vary:
166
+ - Accept-Encoding
167
+ - Accept-Encoding
168
+ Cache-Control:
169
+ - private, must-revalidate
170
+ Pragma:
171
+ - no-cache
172
+ Expires:
173
+ - "-1"
174
+ Strict-Transport-Security:
175
+ - max-age=31536000
176
+ X-Frame-Options:
177
+ - SAMEORIGIN
178
+ X-Content-Type-Options:
179
+ - nosniff
180
+ X-Xss-Protection:
181
+ - 1; mode=block
182
+ Content-Security-Policy:
183
+ - 'default-src ''self''; connect-src ''self'' *.easybill.de *.paymill.de *.paymill.com;
184
+ script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.paymill.de *.paymill.com
185
+ *.google-analytics.com *.googleadservices.com d2wy8f7a9ursnm.cloudfront.net;
186
+ img-src ''self'' data: *.doubleclick.net notify.bugsnag.com *.paypalobjects.com
187
+ online.swagger.io *.google-analytics.com *.google.com *.google.de *.google.at
188
+ *.google.ch; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com; font-src
189
+ ''self'' themes.googleusercontent.com fonts.gstatic.com; frame-src ''self''
190
+ *.googleadservices.com ssl.kaptcha.com *.paymill.de *.paymill.com *.mediafinanz.de
191
+ *.google.de *.google.com *.google.at *.google.ch *.doubleclick.net player.vimeo.com
192
+ *.facebook.com; object-src ''self'''
193
+ body:
194
+ encoding: ASCII-8BIT
195
+ string: '{"address":{"city":null,"company_name":"ACME Corp.","country":"DE","first_name":null,"last_name":"Mustermann","personal":false,"salutation":0,"street":null,"suffix_1":null,"suffix_2":null,"title":null,"zip_code":null},"amount":0,"amount_net":0,"bank_debit_form":null,"cancel_id":null,"cash_allowance":null,"cash_allowance_days":null,"cash_allowance_text":null,"contact_id":null,"contact_label":null,"contact_text":null,"created_at":"2016-07-20
196
+ 17:26:21","currency":"EUR","customer_id":75562448,"discount":null,"discount_type":null,"document_date":"2016-07-20","due_date":"2016-07-30","edited_at":"2016-07-20
197
+ 17:26:22","grace_period":10,"id":91046858,"is_archive":false,"is_draft":false,"items":[],"label_address":{"city":null,"company_name":null,"country":null,"first_name":null,"last_name":null,"personal":false,"salutation":0,"street":null,"suffix_1":null,"suffix_2":null,"zip_code":null},"last_postbox_id":null,"login_id":20454,"number":"C1607-17966","paid_amount":0,"paid_at":null,"pdf_pages":1,"pdf_template":null,"project_id":null,"ref_id":null,"service_date":{"type":"DEFAULT","date":"2016-07-20","date_from":null,"date_to":null,"text":null},"status":null,"text":"Vielen
198
+ Dank f\u00fcr Ihren Auftrag!\n\nBitte begleichen Sie den offenen Betrag bis
199
+ zum %DOKUMENT.DATUM-FAELLIG%.\n\nMit freundlichen Gr\u00fc\u00dfen\n\n%FIRMA.FIRMA%\n","text_prefix":"%KUNDE.ANREDE%,\nnachfolgend
200
+ berechnen wir Ihnen wie vorab besprochen:\n","title":null,"type":"INVOICE","use_shipping_address":false,"vat_option":null}'
201
+ http_version:
202
+ recorded_at: Wed, 20 Jul 2016 15:26:22 GMT
203
+ - request:
204
+ method: post
205
+ uri: https://api.easybill.de/rest/v1/document-payments
206
+ body:
207
+ encoding: UTF-8
208
+ string: '{"amount":0,"document_id":91046858}'
209
+ headers:
210
+ Accept-Encoding:
211
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
212
+ Accept:
213
+ - "*/*"
214
+ User-Agent:
215
+ - Ruby
216
+ Host:
217
+ - api.easybill.de
218
+ Authorization:
219
+ - Basic easybill-basic-auth-key
220
+ response:
221
+ status:
222
+ code: 201
223
+ message: Created
224
+ headers:
225
+ Server:
226
+ - nginx
227
+ Date:
228
+ - Wed, 20 Jul 2016 15:26:22 GMT
229
+ Content-Type:
230
+ - application/json
231
+ Transfer-Encoding:
232
+ - chunked
233
+ Connection:
234
+ - keep-alive
235
+ Cache-Control:
236
+ - private, must-revalidate
237
+ Pragma:
238
+ - no-cache
239
+ Expires:
240
+ - "-1"
241
+ Strict-Transport-Security:
242
+ - max-age=31536000
243
+ X-Frame-Options:
244
+ - SAMEORIGIN
245
+ X-Content-Type-Options:
246
+ - nosniff
247
+ X-Xss-Protection:
248
+ - 1; mode=block
249
+ Content-Security-Policy:
250
+ - 'default-src ''self''; connect-src ''self'' *.easybill.de *.paymill.de *.paymill.com;
251
+ script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.paymill.de *.paymill.com
252
+ *.google-analytics.com *.googleadservices.com d2wy8f7a9ursnm.cloudfront.net;
253
+ img-src ''self'' data: *.doubleclick.net notify.bugsnag.com *.paypalobjects.com
254
+ online.swagger.io *.google-analytics.com *.google.com *.google.de *.google.at
255
+ *.google.ch; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com; font-src
256
+ ''self'' themes.googleusercontent.com fonts.gstatic.com; frame-src ''self''
257
+ *.googleadservices.com ssl.kaptcha.com *.paymill.de *.paymill.com *.mediafinanz.de
258
+ *.google.de *.google.com *.google.at *.google.ch *.doubleclick.net player.vimeo.com
259
+ *.facebook.com; object-src ''self'''
260
+ body:
261
+ encoding: UTF-8
262
+ string: '{"amount":0,"document_id":91046858,"id":80467771,"login_id":20454,"notice":"","payment_at":"1970-01-01","type":null}'
263
+ http_version:
264
+ recorded_at: Wed, 20 Jul 2016 15:26:22 GMT
265
+ - request:
266
+ method: post
267
+ uri: https://api.easybill.de/rest/v1/documents
268
+ body:
269
+ encoding: UTF-8
270
+ string: '{"customer_id":75562448,"items":[]}'
271
+ headers:
272
+ Accept-Encoding:
273
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
274
+ Accept:
275
+ - "*/*"
276
+ User-Agent:
277
+ - Ruby
278
+ Host:
279
+ - api.easybill.de
280
+ Authorization:
281
+ - Basic easybill-basic-auth-key
282
+ response:
283
+ status:
284
+ code: 201
285
+ message: Created
286
+ headers:
287
+ Server:
288
+ - nginx
289
+ Date:
290
+ - Wed, 20 Jul 2016 15:26:23 GMT
291
+ Content-Type:
292
+ - application/json
293
+ Transfer-Encoding:
294
+ - chunked
295
+ Connection:
296
+ - keep-alive
297
+ Cache-Control:
298
+ - private, must-revalidate
299
+ Pragma:
300
+ - no-cache
301
+ Expires:
302
+ - "-1"
303
+ Strict-Transport-Security:
304
+ - max-age=31536000
305
+ X-Frame-Options:
306
+ - SAMEORIGIN
307
+ X-Content-Type-Options:
308
+ - nosniff
309
+ X-Xss-Protection:
310
+ - 1; mode=block
311
+ Content-Security-Policy:
312
+ - 'default-src ''self''; connect-src ''self'' *.easybill.de *.paymill.de *.paymill.com;
313
+ script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.paymill.de *.paymill.com
314
+ *.google-analytics.com *.googleadservices.com d2wy8f7a9ursnm.cloudfront.net;
315
+ img-src ''self'' data: *.doubleclick.net notify.bugsnag.com *.paypalobjects.com
316
+ online.swagger.io *.google-analytics.com *.google.com *.google.de *.google.at
317
+ *.google.ch; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com; font-src
318
+ ''self'' themes.googleusercontent.com fonts.gstatic.com; frame-src ''self''
319
+ *.googleadservices.com ssl.kaptcha.com *.paymill.de *.paymill.com *.mediafinanz.de
320
+ *.google.de *.google.com *.google.at *.google.ch *.doubleclick.net player.vimeo.com
321
+ *.facebook.com; object-src ''self'''
322
+ body:
323
+ encoding: UTF-8
324
+ string: '{"address":{"city":null,"company_name":"ACME Corp.","country":"DE","first_name":null,"last_name":"Mustermann","personal":false,"salutation":0,"street":null,"suffix_1":null,"suffix_2":null,"title":null,"zip_code":null},"amount":0,"amount_net":0,"bank_debit_form":null,"cancel_id":null,"cash_allowance":null,"cash_allowance_days":null,"cash_allowance_text":null,"contact_id":null,"contact_label":"","contact_text":"","created_at":"2016-07-20
325
+ 17:26:22","currency":"EUR","customer_id":75562448,"discount":null,"discount_type":null,"document_date":"2016-07-20","due_date":null,"edited_at":"2016-07-20
326
+ 17:26:23","grace_period":10,"id":91046861,"is_archive":false,"is_draft":true,"items":[],"label_address":{"city":null,"company_name":null,"country":null,"first_name":null,"last_name":null,"personal":false,"salutation":0,"street":null,"suffix_1":null,"suffix_2":null,"zip_code":null},"last_postbox_id":null,"login_id":20454,"number":null,"paid_amount":0,"paid_at":null,"pdf_pages":1,"pdf_template":null,"project_id":null,"ref_id":null,"service_date":{"type":"DEFAULT","date":"2016-07-20","date_from":null,"date_to":null,"text":null},"status":null,"text":"Vielen
327
+ Dank f\u00fcr Ihren Auftrag!\n\nBitte begleichen Sie den offenen Betrag bis
328
+ zum %DOKUMENT.DATUM-FAELLIG%.\n\nMit freundlichen Gr\u00fc\u00dfen\n\n%FIRMA.FIRMA%\n","text_prefix":"%KUNDE.ANREDE%,\nnachfolgend
329
+ berechnen wir Ihnen wie vorab besprochen:\n","title":null,"type":"INVOICE","use_shipping_address":false,"vat_option":null}'
330
+ http_version:
331
+ recorded_at: Wed, 20 Jul 2016 15:26:23 GMT
332
+ - request:
333
+ method: put
334
+ uri: https://api.easybill.de/rest/v1/documents/91046861/done
335
+ body:
336
+ encoding: UTF-8
337
+ string: "{}"
338
+ headers:
339
+ Accept-Encoding:
340
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
341
+ Accept:
342
+ - "*/*"
343
+ User-Agent:
344
+ - Ruby
345
+ Host:
346
+ - api.easybill.de
347
+ Authorization:
348
+ - Basic easybill-basic-auth-key
349
+ response:
350
+ status:
351
+ code: 200
352
+ message: OK
353
+ headers:
354
+ Server:
355
+ - nginx
356
+ Date:
357
+ - Wed, 20 Jul 2016 15:26:23 GMT
358
+ Content-Type:
359
+ - application/json
360
+ Transfer-Encoding:
361
+ - chunked
362
+ Connection:
363
+ - keep-alive
364
+ Vary:
365
+ - Accept-Encoding
366
+ - Accept-Encoding
367
+ Cache-Control:
368
+ - private, must-revalidate
369
+ Pragma:
370
+ - no-cache
371
+ Expires:
372
+ - "-1"
373
+ Strict-Transport-Security:
374
+ - max-age=31536000
375
+ X-Frame-Options:
376
+ - SAMEORIGIN
377
+ X-Content-Type-Options:
378
+ - nosniff
379
+ X-Xss-Protection:
380
+ - 1; mode=block
381
+ Content-Security-Policy:
382
+ - 'default-src ''self''; connect-src ''self'' *.easybill.de *.paymill.de *.paymill.com;
383
+ script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.paymill.de *.paymill.com
384
+ *.google-analytics.com *.googleadservices.com d2wy8f7a9ursnm.cloudfront.net;
385
+ img-src ''self'' data: *.doubleclick.net notify.bugsnag.com *.paypalobjects.com
386
+ online.swagger.io *.google-analytics.com *.google.com *.google.de *.google.at
387
+ *.google.ch; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com; font-src
388
+ ''self'' themes.googleusercontent.com fonts.gstatic.com; frame-src ''self''
389
+ *.googleadservices.com ssl.kaptcha.com *.paymill.de *.paymill.com *.mediafinanz.de
390
+ *.google.de *.google.com *.google.at *.google.ch *.doubleclick.net player.vimeo.com
391
+ *.facebook.com; object-src ''self'''
392
+ body:
393
+ encoding: ASCII-8BIT
394
+ string: '{"address":{"city":null,"company_name":"ACME Corp.","country":"DE","first_name":null,"last_name":"Mustermann","personal":false,"salutation":0,"street":null,"suffix_1":null,"suffix_2":null,"title":null,"zip_code":null},"amount":0,"amount_net":0,"bank_debit_form":null,"cancel_id":null,"cash_allowance":null,"cash_allowance_days":null,"cash_allowance_text":null,"contact_id":null,"contact_label":null,"contact_text":null,"created_at":"2016-07-20
395
+ 17:26:22","currency":"EUR","customer_id":75562448,"discount":null,"discount_type":null,"document_date":"2016-07-20","due_date":"2016-07-30","edited_at":"2016-07-20
396
+ 17:26:23","grace_period":10,"id":91046861,"is_archive":false,"is_draft":false,"items":[],"label_address":{"city":null,"company_name":null,"country":null,"first_name":null,"last_name":null,"personal":false,"salutation":0,"street":null,"suffix_1":null,"suffix_2":null,"zip_code":null},"last_postbox_id":null,"login_id":20454,"number":"C1607-17967","paid_amount":0,"paid_at":null,"pdf_pages":1,"pdf_template":null,"project_id":null,"ref_id":null,"service_date":{"type":"DEFAULT","date":"2016-07-20","date_from":null,"date_to":null,"text":null},"status":null,"text":"Vielen
397
+ Dank f\u00fcr Ihren Auftrag!\n\nBitte begleichen Sie den offenen Betrag bis
398
+ zum %DOKUMENT.DATUM-FAELLIG%.\n\nMit freundlichen Gr\u00fc\u00dfen\n\n%FIRMA.FIRMA%\n","text_prefix":"%KUNDE.ANREDE%,\nnachfolgend
399
+ berechnen wir Ihnen wie vorab besprochen:\n","title":null,"type":"INVOICE","use_shipping_address":false,"vat_option":null}'
400
+ http_version:
401
+ recorded_at: Wed, 20 Jul 2016 15:26:23 GMT
402
+ - request:
403
+ method: get
404
+ uri: https://api.easybill.de/rest/v1/documents?limit=1000&number=,C1607-17967&page=1&paid_at=null
405
+ body:
406
+ encoding: US-ASCII
407
+ string: ''
408
+ headers:
409
+ Accept-Encoding:
410
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
411
+ Accept:
412
+ - "*/*"
413
+ User-Agent:
414
+ - Ruby
415
+ Host:
416
+ - api.easybill.de
417
+ Authorization:
418
+ - Basic easybill-basic-auth-key
419
+ response:
420
+ status:
421
+ code: 200
422
+ message: OK
423
+ headers:
424
+ Server:
425
+ - nginx
426
+ Date:
427
+ - Wed, 20 Jul 2016 15:26:23 GMT
428
+ Content-Type:
429
+ - application/json
430
+ Transfer-Encoding:
431
+ - chunked
432
+ Connection:
433
+ - keep-alive
434
+ Vary:
435
+ - Accept-Encoding
436
+ - Accept-Encoding
437
+ Cache-Control:
438
+ - private, must-revalidate
439
+ Pragma:
440
+ - no-cache
441
+ Expires:
442
+ - "-1"
443
+ Strict-Transport-Security:
444
+ - max-age=31536000
445
+ X-Frame-Options:
446
+ - SAMEORIGIN
447
+ X-Content-Type-Options:
448
+ - nosniff
449
+ X-Xss-Protection:
450
+ - 1; mode=block
451
+ Content-Security-Policy:
452
+ - 'default-src ''self''; connect-src ''self'' *.easybill.de *.paymill.de *.paymill.com;
453
+ script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.paymill.de *.paymill.com
454
+ *.google-analytics.com *.googleadservices.com d2wy8f7a9ursnm.cloudfront.net;
455
+ img-src ''self'' data: *.doubleclick.net notify.bugsnag.com *.paypalobjects.com
456
+ online.swagger.io *.google-analytics.com *.google.com *.google.de *.google.at
457
+ *.google.ch; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com; font-src
458
+ ''self'' themes.googleusercontent.com fonts.gstatic.com; frame-src ''self''
459
+ *.googleadservices.com ssl.kaptcha.com *.paymill.de *.paymill.com *.mediafinanz.de
460
+ *.google.de *.google.com *.google.at *.google.ch *.doubleclick.net player.vimeo.com
461
+ *.facebook.com; object-src ''self'''
462
+ body:
463
+ encoding: ASCII-8BIT
464
+ string: '{"page":1,"pages":1,"limit":1000,"total":1,"items":[{"address":{"city":null,"company_name":"ACME
465
+ Corp.","country":"DE","first_name":null,"last_name":"Mustermann","personal":false,"salutation":0,"street":null,"suffix_1":null,"suffix_2":null,"title":null,"zip_code":null},"amount":0,"amount_net":0,"bank_debit_form":null,"cancel_id":null,"cash_allowance":null,"cash_allowance_days":null,"cash_allowance_text":null,"contact_id":null,"contact_label":null,"contact_text":null,"created_at":"2016-07-20
466
+ 17:26:22","currency":"EUR","customer_id":75562448,"discount":null,"discount_type":null,"document_date":"2016-07-20","due_date":"2016-07-30","edited_at":"2016-07-20
467
+ 17:26:23","grace_period":10,"id":91046861,"is_archive":false,"is_draft":false,"items":[],"label_address":{"city":null,"company_name":null,"country":null,"first_name":null,"last_name":null,"personal":false,"salutation":0,"street":null,"suffix_1":null,"suffix_2":null,"zip_code":null},"last_postbox_id":null,"login_id":20454,"number":"C1607-17967","paid_amount":0,"paid_at":null,"pdf_pages":1,"pdf_template":null,"project_id":null,"ref_id":null,"service_date":{"type":"DEFAULT","date":"2016-07-20","date_from":null,"date_to":null,"text":null},"status":null,"text":"Vielen
468
+ Dank f\u00fcr Ihren Auftrag!\n\nBitte begleichen Sie den offenen Betrag bis
469
+ zum %DOKUMENT.DATUM-FAELLIG%.\n\nMit freundlichen Gr\u00fc\u00dfen\n\n%FIRMA.FIRMA%\n","text_prefix":"%KUNDE.ANREDE%,\nnachfolgend
470
+ berechnen wir Ihnen wie vorab besprochen:\n","title":null,"type":"INVOICE","use_shipping_address":false,"vat_option":null}]}'
471
+ http_version:
472
+ recorded_at: Wed, 20 Jul 2016 15:26:23 GMT
473
+ - request:
474
+ method: get
475
+ uri: https://api.easybill.de/rest/v1/documents?limit=1000&number=,C1607-17967&page=1&paid_at=null
476
+ body:
477
+ encoding: US-ASCII
478
+ string: ''
479
+ headers:
480
+ Accept-Encoding:
481
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
482
+ Accept:
483
+ - "*/*"
484
+ User-Agent:
485
+ - Ruby
486
+ Host:
487
+ - api.easybill.de
488
+ Authorization:
489
+ - Basic easybill-basic-auth-key
490
+ response:
491
+ status:
492
+ code: 200
493
+ message: OK
494
+ headers:
495
+ Server:
496
+ - nginx
497
+ Date:
498
+ - Wed, 20 Jul 2016 15:26:23 GMT
499
+ Content-Type:
500
+ - application/json
501
+ Transfer-Encoding:
502
+ - chunked
503
+ Connection:
504
+ - keep-alive
505
+ Vary:
506
+ - Accept-Encoding
507
+ - Accept-Encoding
508
+ Cache-Control:
509
+ - private, must-revalidate
510
+ Pragma:
511
+ - no-cache
512
+ Expires:
513
+ - "-1"
514
+ Strict-Transport-Security:
515
+ - max-age=31536000
516
+ X-Frame-Options:
517
+ - SAMEORIGIN
518
+ X-Content-Type-Options:
519
+ - nosniff
520
+ X-Xss-Protection:
521
+ - 1; mode=block
522
+ Content-Security-Policy:
523
+ - 'default-src ''self''; connect-src ''self'' *.easybill.de *.paymill.de *.paymill.com;
524
+ script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.paymill.de *.paymill.com
525
+ *.google-analytics.com *.googleadservices.com d2wy8f7a9ursnm.cloudfront.net;
526
+ img-src ''self'' data: *.doubleclick.net notify.bugsnag.com *.paypalobjects.com
527
+ online.swagger.io *.google-analytics.com *.google.com *.google.de *.google.at
528
+ *.google.ch; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com; font-src
529
+ ''self'' themes.googleusercontent.com fonts.gstatic.com; frame-src ''self''
530
+ *.googleadservices.com ssl.kaptcha.com *.paymill.de *.paymill.com *.mediafinanz.de
531
+ *.google.de *.google.com *.google.at *.google.ch *.doubleclick.net player.vimeo.com
532
+ *.facebook.com; object-src ''self'''
533
+ body:
534
+ encoding: ASCII-8BIT
535
+ string: '{"page":1,"pages":1,"limit":1000,"total":1,"items":[{"address":{"city":null,"company_name":"ACME
536
+ Corp.","country":"DE","first_name":null,"last_name":"Mustermann","personal":false,"salutation":0,"street":null,"suffix_1":null,"suffix_2":null,"title":null,"zip_code":null},"amount":0,"amount_net":0,"bank_debit_form":null,"cancel_id":null,"cash_allowance":null,"cash_allowance_days":null,"cash_allowance_text":null,"contact_id":null,"contact_label":null,"contact_text":null,"created_at":"2016-07-20
537
+ 17:26:22","currency":"EUR","customer_id":75562448,"discount":null,"discount_type":null,"document_date":"2016-07-20","due_date":"2016-07-30","edited_at":"2016-07-20
538
+ 17:26:23","grace_period":10,"id":91046861,"is_archive":false,"is_draft":false,"items":[],"label_address":{"city":null,"company_name":null,"country":null,"first_name":null,"last_name":null,"personal":false,"salutation":0,"street":null,"suffix_1":null,"suffix_2":null,"zip_code":null},"last_postbox_id":null,"login_id":20454,"number":"C1607-17967","paid_amount":0,"paid_at":null,"pdf_pages":1,"pdf_template":null,"project_id":null,"ref_id":null,"service_date":{"type":"DEFAULT","date":"2016-07-20","date_from":null,"date_to":null,"text":null},"status":null,"text":"Vielen
539
+ Dank f\u00fcr Ihren Auftrag!\n\nBitte begleichen Sie den offenen Betrag bis
540
+ zum %DOKUMENT.DATUM-FAELLIG%.\n\nMit freundlichen Gr\u00fc\u00dfen\n\n%FIRMA.FIRMA%\n","text_prefix":"%KUNDE.ANREDE%,\nnachfolgend
541
+ berechnen wir Ihnen wie vorab besprochen:\n","title":null,"type":"INVOICE","use_shipping_address":false,"vat_option":null}]}'
542
+ http_version:
543
+ recorded_at: Wed, 20 Jul 2016 15:26:23 GMT
544
+ - request:
545
+ method: get
546
+ uri: https://api.easybill.de/rest/v1/documents?limit=1000&number=,C1607-17967&page=1&paid_at=null
547
+ body:
548
+ encoding: US-ASCII
549
+ string: ''
550
+ headers:
551
+ Accept-Encoding:
552
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
553
+ Accept:
554
+ - "*/*"
555
+ User-Agent:
556
+ - Ruby
557
+ Host:
558
+ - api.easybill.de
559
+ Authorization:
560
+ - Basic easybill-basic-auth-key
561
+ response:
562
+ status:
563
+ code: 200
564
+ message: OK
565
+ headers:
566
+ Server:
567
+ - nginx
568
+ Date:
569
+ - Wed, 20 Jul 2016 15:26:23 GMT
570
+ Content-Type:
571
+ - application/json
572
+ Transfer-Encoding:
573
+ - chunked
574
+ Connection:
575
+ - keep-alive
576
+ Vary:
577
+ - Accept-Encoding
578
+ - Accept-Encoding
579
+ Cache-Control:
580
+ - private, must-revalidate
581
+ Pragma:
582
+ - no-cache
583
+ Expires:
584
+ - "-1"
585
+ Strict-Transport-Security:
586
+ - max-age=31536000
587
+ X-Frame-Options:
588
+ - SAMEORIGIN
589
+ X-Content-Type-Options:
590
+ - nosniff
591
+ X-Xss-Protection:
592
+ - 1; mode=block
593
+ Content-Security-Policy:
594
+ - 'default-src ''self''; connect-src ''self'' *.easybill.de *.paymill.de *.paymill.com;
595
+ script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.paymill.de *.paymill.com
596
+ *.google-analytics.com *.googleadservices.com d2wy8f7a9ursnm.cloudfront.net;
597
+ img-src ''self'' data: *.doubleclick.net notify.bugsnag.com *.paypalobjects.com
598
+ online.swagger.io *.google-analytics.com *.google.com *.google.de *.google.at
599
+ *.google.ch; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com; font-src
600
+ ''self'' themes.googleusercontent.com fonts.gstatic.com; frame-src ''self''
601
+ *.googleadservices.com ssl.kaptcha.com *.paymill.de *.paymill.com *.mediafinanz.de
602
+ *.google.de *.google.com *.google.at *.google.ch *.doubleclick.net player.vimeo.com
603
+ *.facebook.com; object-src ''self'''
604
+ body:
605
+ encoding: ASCII-8BIT
606
+ string: '{"page":1,"pages":1,"limit":1000,"total":1,"items":[{"address":{"city":null,"company_name":"ACME
607
+ Corp.","country":"DE","first_name":null,"last_name":"Mustermann","personal":false,"salutation":0,"street":null,"suffix_1":null,"suffix_2":null,"title":null,"zip_code":null},"amount":0,"amount_net":0,"bank_debit_form":null,"cancel_id":null,"cash_allowance":null,"cash_allowance_days":null,"cash_allowance_text":null,"contact_id":null,"contact_label":null,"contact_text":null,"created_at":"2016-07-20
608
+ 17:26:22","currency":"EUR","customer_id":75562448,"discount":null,"discount_type":null,"document_date":"2016-07-20","due_date":"2016-07-30","edited_at":"2016-07-20
609
+ 17:26:23","grace_period":10,"id":91046861,"is_archive":false,"is_draft":false,"items":[],"label_address":{"city":null,"company_name":null,"country":null,"first_name":null,"last_name":null,"personal":false,"salutation":0,"street":null,"suffix_1":null,"suffix_2":null,"zip_code":null},"last_postbox_id":null,"login_id":20454,"number":"C1607-17967","paid_amount":0,"paid_at":null,"pdf_pages":1,"pdf_template":null,"project_id":null,"ref_id":null,"service_date":{"type":"DEFAULT","date":"2016-07-20","date_from":null,"date_to":null,"text":null},"status":null,"text":"Vielen
610
+ Dank f\u00fcr Ihren Auftrag!\n\nBitte begleichen Sie den offenen Betrag bis
611
+ zum %DOKUMENT.DATUM-FAELLIG%.\n\nMit freundlichen Gr\u00fc\u00dfen\n\n%FIRMA.FIRMA%\n","text_prefix":"%KUNDE.ANREDE%,\nnachfolgend
612
+ berechnen wir Ihnen wie vorab besprochen:\n","title":null,"type":"INVOICE","use_shipping_address":false,"vat_option":null}]}'
613
+ http_version:
614
+ recorded_at: Wed, 20 Jul 2016 15:26:23 GMT
615
+ - request:
616
+ method: delete
617
+ uri: https://api.easybill.de/rest/v1/documents/91046858
618
+ body:
619
+ encoding: US-ASCII
620
+ string: ''
621
+ headers:
622
+ Accept-Encoding:
623
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
624
+ Accept:
625
+ - "*/*"
626
+ User-Agent:
627
+ - Ruby
628
+ Host:
629
+ - api.easybill.de
630
+ Authorization:
631
+ - Basic easybill-basic-auth-key
632
+ response:
633
+ status:
634
+ code: 204
635
+ message: No Content
636
+ headers:
637
+ Server:
638
+ - nginx
639
+ Date:
640
+ - Wed, 20 Jul 2016 16:06:07 GMT
641
+ Content-Type:
642
+ - text/html; charset=UTF-8
643
+ Connection:
644
+ - keep-alive
645
+ Cache-Control:
646
+ - private, must-revalidate
647
+ Pragma:
648
+ - no-cache
649
+ Expires:
650
+ - "-1"
651
+ Strict-Transport-Security:
652
+ - max-age=31536000
653
+ X-Frame-Options:
654
+ - SAMEORIGIN
655
+ X-Content-Type-Options:
656
+ - nosniff
657
+ X-Xss-Protection:
658
+ - 1; mode=block
659
+ Content-Security-Policy:
660
+ - 'default-src ''self''; connect-src ''self'' *.easybill.de *.paymill.de *.paymill.com;
661
+ script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.paymill.de *.paymill.com
662
+ *.google-analytics.com *.googleadservices.com d2wy8f7a9ursnm.cloudfront.net;
663
+ img-src ''self'' data: *.doubleclick.net notify.bugsnag.com *.paypalobjects.com
664
+ online.swagger.io *.google-analytics.com *.google.com *.google.de *.google.at
665
+ *.google.ch; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com; font-src
666
+ ''self'' themes.googleusercontent.com fonts.gstatic.com; frame-src ''self''
667
+ *.googleadservices.com ssl.kaptcha.com *.paymill.de *.paymill.com *.mediafinanz.de
668
+ *.google.de *.google.com *.google.at *.google.ch *.doubleclick.net player.vimeo.com
669
+ *.facebook.com; object-src ''self'''
670
+ body:
671
+ encoding: UTF-8
672
+ string: ''
673
+ http_version:
674
+ recorded_at: Wed, 20 Jul 2016 16:06:07 GMT
675
+ - request:
676
+ method: delete
677
+ uri: https://api.easybill.de/rest/v1/documents/91046861
678
+ body:
679
+ encoding: US-ASCII
680
+ string: ''
681
+ headers:
682
+ Accept-Encoding:
683
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
684
+ Accept:
685
+ - "*/*"
686
+ User-Agent:
687
+ - Ruby
688
+ Host:
689
+ - api.easybill.de
690
+ Authorization:
691
+ - Basic easybill-basic-auth-key
692
+ response:
693
+ status:
694
+ code: 204
695
+ message: No Content
696
+ headers:
697
+ Server:
698
+ - nginx
699
+ Date:
700
+ - Wed, 20 Jul 2016 16:06:08 GMT
701
+ Content-Type:
702
+ - text/html; charset=UTF-8
703
+ Connection:
704
+ - keep-alive
705
+ Cache-Control:
706
+ - private, must-revalidate
707
+ Pragma:
708
+ - no-cache
709
+ Expires:
710
+ - "-1"
711
+ Strict-Transport-Security:
712
+ - max-age=31536000
713
+ X-Frame-Options:
714
+ - SAMEORIGIN
715
+ X-Content-Type-Options:
716
+ - nosniff
717
+ X-Xss-Protection:
718
+ - 1; mode=block
719
+ Content-Security-Policy:
720
+ - 'default-src ''self''; connect-src ''self'' *.easybill.de *.paymill.de *.paymill.com;
721
+ script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.paymill.de *.paymill.com
722
+ *.google-analytics.com *.googleadservices.com d2wy8f7a9ursnm.cloudfront.net;
723
+ img-src ''self'' data: *.doubleclick.net notify.bugsnag.com *.paypalobjects.com
724
+ online.swagger.io *.google-analytics.com *.google.com *.google.de *.google.at
725
+ *.google.ch; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com; font-src
726
+ ''self'' themes.googleusercontent.com fonts.gstatic.com; frame-src ''self''
727
+ *.googleadservices.com ssl.kaptcha.com *.paymill.de *.paymill.com *.mediafinanz.de
728
+ *.google.de *.google.com *.google.at *.google.ch *.doubleclick.net player.vimeo.com
729
+ *.facebook.com; object-src ''self'''
730
+ body:
731
+ encoding: UTF-8
732
+ string: ''
733
+ http_version:
734
+ recorded_at: Wed, 20 Jul 2016 16:06:08 GMT
735
+ - request:
736
+ method: delete
737
+ uri: https://api.easybill.de/rest/v1/customers/75562448
738
+ body:
739
+ encoding: US-ASCII
740
+ string: ''
741
+ headers:
742
+ Accept-Encoding:
743
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
744
+ Accept:
745
+ - "*/*"
746
+ User-Agent:
747
+ - Ruby
748
+ Host:
749
+ - api.easybill.de
750
+ Authorization:
751
+ - Basic easybill-basic-auth-key
752
+ response:
753
+ status:
754
+ code: 204
755
+ message: No Content
756
+ headers:
757
+ Server:
758
+ - nginx
759
+ Date:
760
+ - Wed, 20 Jul 2016 16:11:21 GMT
761
+ Content-Type:
762
+ - text/html; charset=UTF-8
763
+ Connection:
764
+ - keep-alive
765
+ Cache-Control:
766
+ - private, must-revalidate
767
+ Pragma:
768
+ - no-cache
769
+ Expires:
770
+ - "-1"
771
+ Strict-Transport-Security:
772
+ - max-age=31536000
773
+ X-Frame-Options:
774
+ - SAMEORIGIN
775
+ X-Content-Type-Options:
776
+ - nosniff
777
+ X-Xss-Protection:
778
+ - 1; mode=block
779
+ Content-Security-Policy:
780
+ - 'default-src ''self''; connect-src ''self'' *.easybill.de *.paymill.de *.paymill.com;
781
+ script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.paymill.de *.paymill.com
782
+ *.google-analytics.com *.googleadservices.com d2wy8f7a9ursnm.cloudfront.net;
783
+ img-src ''self'' data: *.doubleclick.net notify.bugsnag.com *.paypalobjects.com
784
+ online.swagger.io *.google-analytics.com *.google.com *.google.de *.google.at
785
+ *.google.ch; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com; font-src
786
+ ''self'' themes.googleusercontent.com fonts.gstatic.com; frame-src ''self''
787
+ *.googleadservices.com ssl.kaptcha.com *.paymill.de *.paymill.com *.mediafinanz.de
788
+ *.google.de *.google.com *.google.at *.google.ch *.doubleclick.net player.vimeo.com
789
+ *.facebook.com; object-src ''self'''
790
+ body:
791
+ encoding: UTF-8
792
+ string: ''
793
+ http_version:
794
+ recorded_at: Wed, 20 Jul 2016 16:11:21 GMT
795
+ recorded_with: VCR 3.0.3