easybill-rest-client 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +152 -0
- data/README.md +8 -0
- data/Rakefile +4 -0
- data/config.json +5 -0
- data/easybill-rest-client.gemspec +29 -0
- data/lib/easybill-rest-client.rb +15 -0
- data/lib/easybill_rest_client/.document_address.rb.swp +0 -0
- data/lib/easybill_rest_client/.document_item.rb.swp +0 -0
- data/lib/easybill_rest_client/.document_payment.rb.swp +0 -0
- data/lib/easybill_rest_client/.document_recurring_options.rb.swp +0 -0
- data/lib/easybill_rest_client/.easybill_error.rb.swp +0 -0
- data/lib/easybill_rest_client/.log_formatter.rb.swp +0 -0
- data/lib/easybill_rest_client/.request_builder.rb.swp +0 -0
- data/lib/easybill_rest_client/.too_many_requests_error.rb.swp +0 -0
- data/lib/easybill_rest_client/api_client.rb +61 -0
- data/lib/easybill_rest_client/client.rb +39 -0
- data/lib/easybill_rest_client/customer.rb +70 -0
- data/lib/easybill_rest_client/customer_api.rb +15 -0
- data/lib/easybill_rest_client/document.rb +53 -0
- data/lib/easybill_rest_client/document_address.rb +19 -0
- data/lib/easybill_rest_client/document_api.rb +31 -0
- data/lib/easybill_rest_client/document_item.rb +34 -0
- data/lib/easybill_rest_client/document_payment.rb +15 -0
- data/lib/easybill_rest_client/document_payment_api.rb +15 -0
- data/lib/easybill_rest_client/document_recurring_options.rb +23 -0
- data/lib/easybill_rest_client/document_service_date.rb +12 -0
- data/lib/easybill_rest_client/generic_api.rb +39 -0
- data/lib/easybill_rest_client/pdf.rb +21 -0
- data/lib/easybill_rest_client/post_box.rb +24 -0
- data/lib/easybill_rest_client/post_box_api.rb +15 -0
- data/lib/easybill_rest_client/request.rb +107 -0
- data/lib/easybill_rest_client/request_logger.rb +24 -0
- data/lib/easybill_rest_client/response.rb +36 -0
- data/lib/easybill_rest_client/retry_on.rb +46 -0
- data/lib/easybill_rest_client/version.rb +5 -0
- data/log/.gitkeep +0 -0
- data/log/test.log +5723 -0
- data/script/.generate.swo +0 -0
- data/spec/.spec_helper.rb.swp +0 -0
- data/spec/fixtures/vcr/EasybillRestClient_CustomerApi/_customers_get/.returns_customers.yml.swo +0 -0
- data/spec/fixtures/vcr/EasybillRestClient_CustomerApi/_customers_get/.returns_customers.yml.swp +0 -0
- data/spec/fixtures/vcr/EasybillRestClient_CustomerApi/a_list_of_customers/gets_all_customers.yml +84 -0
- data/spec/fixtures/vcr/EasybillRestClient_CustomerApi/a_list_of_customers/gets_customers_matching_a_filter.yml +72 -0
- data/spec/fixtures/vcr/EasybillRestClient_CustomerApi/creates_updates_and_deletes_customer.yml +377 -0
- data/spec/fixtures/vcr/EasybillRestClient_Document/_all/returns_documents.yml +44 -0
- data/spec/fixtures/vcr/EasybillRestClient_DocumentApi/_cancel/cancels_a_document.yml +212 -0
- data/spec/fixtures/vcr/EasybillRestClient_DocumentApi/_create/creates_a_document.yml +53 -0
- data/spec/fixtures/vcr/EasybillRestClient_DocumentApi/_delete/deletes_a_document.yml +174 -0
- data/spec/fixtures/vcr/EasybillRestClient_DocumentApi/_find/returns_a_document.yml +57 -0
- data/spec/fixtures/vcr/EasybillRestClient_DocumentApi/_find_all/paid_and_unpaid_documents_exist/returns_only_unpaid_documents.yml +795 -0
- data/spec/fixtures/vcr/EasybillRestClient_DocumentApi/_find_all/returns_documents.yml +58 -0
- data/spec/fixtures/vcr/EasybillRestClient_DocumentApi/_find_all/returns_documents_by_number.yml +58 -0
- data/spec/fixtures/vcr/EasybillRestClient_DocumentApi/_finish/marks_a_drafted_document_as_finished.yml +212 -0
- data/spec/fixtures/vcr/EasybillRestClient_DocumentApi/_get_pdf/returns_a_PDF.yml +3889 -0
- data/spec/fixtures/vcr/EasybillRestClient_DocumentApi/_send_email/passes_on_additional_params.yml +63 -0
- data/spec/fixtures/vcr/EasybillRestClient_DocumentApi/_send_email/sends_an_email.yml +63 -0
- data/spec/fixtures/vcr/EasybillRestClient_DocumentApi/_update/updates_a_document.yml +107 -0
- data/spec/fixtures/vcr/EasybillRestClient_DocumentPaymentApi/_create/creates_a_document_payment.yml +195 -0
- data/spec/fixtures/vcr/EasybillRestClient_DocumentPaymentApi/_delete/deletes_a_document_payment.yml +168 -0
- data/spec/fixtures/vcr/EasybillRestClient_DocumentPaymentApi/_document_payments_get/returns_a_document_s_payments.yml +460 -0
- data/spec/fixtures/vcr/EasybillRestClient_DocumentPaymentApi/_document_payments_post/creates_a_document_payment.yml +47 -0
- data/spec/fixtures/vcr/EasybillRestClient_DocumentPaymentApi/_find/returns_a_document_payment.yml +66 -0
- data/spec/fixtures/vcr/EasybillRestClient_DocumentPaymentApi/_find_all/returns_document_payments.yml +66 -0
- data/spec/fixtures/vcr/EasybillRestClient_PostBoxApi/_delete/deletes_a_post_box.yml +174 -0
- data/spec/fixtures/vcr/EasybillRestClient_PostBoxApi/_find/returns_a_post_box.yml +72 -0
- data/spec/fixtures/vcr/EasybillRestClient_PostBoxApi/_find_all/returns_post_boxes.yml +73 -0
- data/spec/fixtures/vcr/EasybillRestClient_PostBoxApi/_post_boxes_get/returns_post_boxes.yml +52 -0
- data/spec/integration/.customer_api_spec.rb.swn +0 -0
- data/spec/integration/.customer_api_spec.rb.swo +0 -0
- data/spec/integration/customer_api_spec.rb +47 -0
- data/spec/integration/easybill_rest_client/document_api_spec.rb +129 -0
- data/spec/integration/easybill_rest_client/document_payment_api_spec.rb +55 -0
- data/spec/integration/easybill_rest_client/post_box_api_spec.rb +31 -0
- data/spec/lib/easybill_rest_client/.api_client_spec.rb.swp +0 -0
- data/spec/lib/easybill_rest_client/easybill_rest_api/.generic_api_spec.rb.swp +0 -0
- data/spec/lib/easybill_rest_client/generic_api_spec.rb +55 -0
- data/spec/lib/easybill_rest_client/pdf_spec.rb +29 -0
- data/spec/lib/easybill_rest_client/request_logger_spec.rb +14 -0
- data/spec/lib/easybill_rest_client/request_spec.rb +32 -0
- data/spec/lib/easybill_rest_client/retry_on_spec.rb +37 -0
- data/spec/spec_helper.rb +33 -0
- data/spec/support/.setup_api_client.rb.swo +0 -0
- data/spec/support/setup_client.rb +12 -0
- data/swagger.json +3964 -0
- metadata +257 -0
Binary file
|
Binary file
|
data/spec/fixtures/vcr/EasybillRestClient_CustomerApi/_customers_get/.returns_customers.yml.swo
ADDED
Binary file
|
data/spec/fixtures/vcr/EasybillRestClient_CustomerApi/_customers_get/.returns_customers.yml.swp
ADDED
Binary file
|
data/spec/fixtures/vcr/EasybillRestClient_CustomerApi/a_list_of_customers/gets_all_customers.yml
ADDED
@@ -0,0 +1,84 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.easybill.de/rest/v1/customers?limit=1000&page=1
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.9.2
|
12
|
+
Authorization:
|
13
|
+
- Basic easybill-basic-auth-key
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
Accept:
|
17
|
+
- "*/*"
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Server:
|
24
|
+
- nginx
|
25
|
+
Date:
|
26
|
+
- Fri, 10 Jun 2016 11:45:38 GMT
|
27
|
+
Content-Type:
|
28
|
+
- application/json
|
29
|
+
Transfer-Encoding:
|
30
|
+
- chunked
|
31
|
+
Connection:
|
32
|
+
- keep-alive
|
33
|
+
Vary:
|
34
|
+
- Accept-Encoding
|
35
|
+
- Accept-Encoding
|
36
|
+
Cache-Control:
|
37
|
+
- private, must-revalidate
|
38
|
+
Pragma:
|
39
|
+
- no-cache
|
40
|
+
Expires:
|
41
|
+
- "-1"
|
42
|
+
Strict-Transport-Security:
|
43
|
+
- max-age=31536000
|
44
|
+
X-Frame-Options:
|
45
|
+
- SAMEORIGIN
|
46
|
+
X-Content-Type-Options:
|
47
|
+
- nosniff
|
48
|
+
X-Xss-Protection:
|
49
|
+
- 1; mode=block
|
50
|
+
Content-Security-Policy:
|
51
|
+
- 'default-src ''self''; connect-src ''self'' *.easybill.de *.paymill.de *.paymill.com;
|
52
|
+
script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.paymill.de *.paymill.com
|
53
|
+
*.google-analytics.com *.googleadservices.com d2wy8f7a9ursnm.cloudfront.net;
|
54
|
+
img-src ''self'' data: *.doubleclick.net notify.bugsnag.com *.paypalobjects.com
|
55
|
+
online.swagger.io *.google-analytics.com *.google.com *.google.de *.google.at
|
56
|
+
*.google.ch; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com; font-src
|
57
|
+
''self'' themes.googleusercontent.com fonts.gstatic.com; frame-src ''self''
|
58
|
+
*.googleadservices.com ssl.kaptcha.com *.paymill.de *.paymill.com *.mediafinanz.de
|
59
|
+
*.google.de *.google.com *.google.at *.google.ch *.doubleclick.net player.vimeo.com
|
60
|
+
*.facebook.com; object-src ''self'''
|
61
|
+
body:
|
62
|
+
encoding: ASCII-8BIT
|
63
|
+
string: '{"page":1,"pages":1,"limit":5,"total":5,"items":[{"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":"110058","company_name":"AdGaem
|
64
|
+
Marketing and Web Solutions LLP","country":"IN","delivery_city":"110058","delivery_company_name":"AdGaem
|
65
|
+
Marketing and Web Solutions LLP","delivery_country":"IN","delivery_first_name":"Tejprakash","delivery_last_name":"Dewangan","delivery_personal":null,"delivery_salutation":"0","delivery_street":"A-2\/154
|
66
|
+
Janakpuri","delivery_suffix_1":null,"delivery_suffix_2":null,"delivery_zip_code":"New
|
67
|
+
Delhi","emails":["info@adgaem.com"],"fax":null,"first_name":"Tejprakash","grace_period":"5","group_id":null,"id":5935320,"info_1":null,"info_2":null,"internet":null,"last_name":"Dewangan","mobile":null,"note":null,"number":"15408","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":"15408","since_date":null,"street":"A-2\/154
|
68
|
+
Janakpuri","suffix_1":null,"suffix_2":null,"tax_number":null,"tax_options":null,"title":null,"vat_identifier":null,"zip_code":"New
|
69
|
+
Delhi"},{"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":"Hamburg","company_name":"gamigo
|
70
|
+
AG","country":"DE","delivery_city":"Hamburg","delivery_company_name":"gamigo
|
71
|
+
AG","delivery_country":"DE","delivery_first_name":"Finance","delivery_last_name":"Team","delivery_personal":null,"delivery_salutation":"0","delivery_street":"Behringstr.
|
72
|
+
16b","delivery_suffix_1":null,"delivery_suffix_2":null,"delivery_zip_code":"22765","emails":["finance@gamigo.de"],"fax":null,"first_name":"Finance","grace_period":null,"group_id":null,"id":12500559,"info_1":null,"info_2":null,"internet":null,"last_name":"Team","mobile":null,"note":null,"number":"3","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":"3","since_date":null,"street":"Behringstr.
|
73
|
+
16b","suffix_1":null,"suffix_2":null,"tax_number":null,"tax_options":null,"title":null,"vat_identifier":null,"zip_code":"22765"},{"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":"Los
|
74
|
+
Angeles","company_name":"Affilate 4","country":"DE","delivery_city":null,"delivery_company_name":null,"delivery_country":null,"delivery_first_name":null,"delivery_last_name":null,"delivery_personal":null,"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":12500560,"info_1":null,"info_2":null,"internet":null,"last_name":null,"mobile":null,"note":null,"number":"4","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":"4","since_date":null,"street":"1234
|
75
|
+
W. Some Street","suffix_1":null,"suffix_2":null,"tax_number":null,"tax_options":null,"title":null,"vat_identifier":null,"zip_code":"90120"},{"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":"Bamberg","company_name":"upjers
|
76
|
+
GmbH","country":"DE","delivery_city":"Bamberg","delivery_company_name":"upjers
|
77
|
+
GmbH","delivery_country":"DE","delivery_first_name":"Sebastian","delivery_last_name":"Pfaff","delivery_personal":null,"delivery_salutation":"0","delivery_street":"Hafenstr.
|
78
|
+
13","delivery_suffix_1":null,"delivery_suffix_2":null,"delivery_zip_code":"96052","emails":["s.pfaff@upjers.com"],"fax":null,"first_name":"Sebastian","grace_period":null,"group_id":null,"id":12500561,"info_1":null,"info_2":null,"internet":null,"last_name":"Pfaff","mobile":null,"note":null,"number":"5","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":"5","since_date":null,"street":"Hafenstr.
|
79
|
+
13","suffix_1":null,"suffix_2":null,"tax_number":null,"tax_options":null,"title":null,"vat_identifier":null,"zip_code":"96052"},{"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":"Berlin","company_name":"Gigra
|
80
|
+
Game","country":"DE","delivery_city":null,"delivery_company_name":null,"delivery_country":null,"delivery_first_name":null,"delivery_last_name":null,"delivery_personal":null,"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":12500562,"info_1":null,"info_2":null,"internet":null,"last_name":null,"mobile":null,"note":null,"number":"6","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":"6","since_date":null,"street":"Vulkanstr.
|
81
|
+
51","suffix_1":null,"suffix_2":null,"tax_number":null,"tax_options":null,"title":null,"vat_identifier":null,"zip_code":"10367"}]}'
|
82
|
+
http_version:
|
83
|
+
recorded_at: Fri, 10 Jun 2016 11:45:38 GMT
|
84
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,72 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.easybill.de/rest/v1/customers?limit=1000&number=15408&page=1
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.9.2
|
12
|
+
Authorization:
|
13
|
+
- Basic easybill-basic-auth-key
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
Accept:
|
17
|
+
- "*/*"
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Server:
|
24
|
+
- nginx
|
25
|
+
Date:
|
26
|
+
- Fri, 10 Jun 2016 13:34:39 GMT
|
27
|
+
Content-Type:
|
28
|
+
- application/json
|
29
|
+
Transfer-Encoding:
|
30
|
+
- chunked
|
31
|
+
Connection:
|
32
|
+
- keep-alive
|
33
|
+
Vary:
|
34
|
+
- Accept-Encoding
|
35
|
+
- Accept-Encoding
|
36
|
+
Cache-Control:
|
37
|
+
- private, must-revalidate
|
38
|
+
Pragma:
|
39
|
+
- no-cache
|
40
|
+
Expires:
|
41
|
+
- "-1"
|
42
|
+
Strict-Transport-Security:
|
43
|
+
- max-age=31536000
|
44
|
+
X-Frame-Options:
|
45
|
+
- SAMEORIGIN
|
46
|
+
X-Content-Type-Options:
|
47
|
+
- nosniff
|
48
|
+
X-Xss-Protection:
|
49
|
+
- 1; mode=block
|
50
|
+
Content-Security-Policy:
|
51
|
+
- 'default-src ''self''; connect-src ''self'' *.easybill.de *.paymill.de *.paymill.com;
|
52
|
+
script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.paymill.de *.paymill.com
|
53
|
+
*.google-analytics.com *.googleadservices.com d2wy8f7a9ursnm.cloudfront.net;
|
54
|
+
img-src ''self'' data: *.doubleclick.net notify.bugsnag.com *.paypalobjects.com
|
55
|
+
online.swagger.io *.google-analytics.com *.google.com *.google.de *.google.at
|
56
|
+
*.google.ch; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com; font-src
|
57
|
+
''self'' themes.googleusercontent.com fonts.gstatic.com; frame-src ''self''
|
58
|
+
*.googleadservices.com ssl.kaptcha.com *.paymill.de *.paymill.com *.mediafinanz.de
|
59
|
+
*.google.de *.google.com *.google.at *.google.ch *.doubleclick.net player.vimeo.com
|
60
|
+
*.facebook.com; object-src ''self'''
|
61
|
+
body:
|
62
|
+
encoding: ASCII-8BIT
|
63
|
+
string: '{"page":1,"pages":1,"limit":1000,"total":1,"items":[{"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":"110058","company_name":"AdGaem
|
64
|
+
Marketing and Web Solutions LLP","country":"IN","delivery_city":"110058","delivery_company_name":"AdGaem
|
65
|
+
Marketing and Web Solutions LLP","delivery_country":"IN","delivery_first_name":"Tejprakash","delivery_last_name":"Dewangan","delivery_personal":null,"delivery_salutation":"0","delivery_street":"A-2\/154
|
66
|
+
Janakpuri","delivery_suffix_1":null,"delivery_suffix_2":null,"delivery_zip_code":"New
|
67
|
+
Delhi","emails":["info@adgaem.com"],"fax":null,"first_name":"Tejprakash","grace_period":"5","group_id":null,"id":5935320,"info_1":null,"info_2":null,"internet":null,"last_name":"Dewangan","mobile":null,"note":null,"number":"15408","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":"15408","since_date":null,"street":"A-2\/154
|
68
|
+
Janakpuri","suffix_1":null,"suffix_2":null,"tax_number":null,"tax_options":null,"title":null,"vat_identifier":null,"zip_code":"New
|
69
|
+
Delhi"}]}'
|
70
|
+
http_version:
|
71
|
+
recorded_at: Fri, 10 Jun 2016 13:34:39 GMT
|
72
|
+
recorded_with: VCR 3.0.3
|
data/spec/fixtures/vcr/EasybillRestClient_CustomerApi/creates_updates_and_deletes_customer.yml
ADDED
@@ -0,0 +1,377 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.easybill.de/rest/v1/customers?limit=1000&number=TEST&page=1
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.9.2
|
12
|
+
Authorization:
|
13
|
+
- Basic easybill-basic-auth-key
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
Accept:
|
17
|
+
- "*/*"
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Server:
|
24
|
+
- nginx
|
25
|
+
Date:
|
26
|
+
- Mon, 27 Jun 2016 15:57:26 GMT
|
27
|
+
Content-Type:
|
28
|
+
- application/json
|
29
|
+
Transfer-Encoding:
|
30
|
+
- chunked
|
31
|
+
Connection:
|
32
|
+
- keep-alive
|
33
|
+
Vary:
|
34
|
+
- Accept-Encoding
|
35
|
+
- Accept-Encoding
|
36
|
+
Cache-Control:
|
37
|
+
- private, must-revalidate
|
38
|
+
Pragma:
|
39
|
+
- no-cache
|
40
|
+
Expires:
|
41
|
+
- "-1"
|
42
|
+
Strict-Transport-Security:
|
43
|
+
- max-age=31536000
|
44
|
+
X-Frame-Options:
|
45
|
+
- SAMEORIGIN
|
46
|
+
X-Content-Type-Options:
|
47
|
+
- nosniff
|
48
|
+
X-Xss-Protection:
|
49
|
+
- 1; mode=block
|
50
|
+
Content-Security-Policy:
|
51
|
+
- 'default-src ''self''; connect-src ''self'' *.easybill.de *.paymill.de *.paymill.com;
|
52
|
+
script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.paymill.de *.paymill.com
|
53
|
+
*.google-analytics.com *.googleadservices.com d2wy8f7a9ursnm.cloudfront.net;
|
54
|
+
img-src ''self'' data: *.doubleclick.net notify.bugsnag.com *.paypalobjects.com
|
55
|
+
online.swagger.io *.google-analytics.com *.google.com *.google.de *.google.at
|
56
|
+
*.google.ch; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com; font-src
|
57
|
+
''self'' themes.googleusercontent.com fonts.gstatic.com; frame-src ''self''
|
58
|
+
*.googleadservices.com ssl.kaptcha.com *.paymill.de *.paymill.com *.mediafinanz.de
|
59
|
+
*.google.de *.google.com *.google.at *.google.ch *.doubleclick.net player.vimeo.com
|
60
|
+
*.facebook.com; object-src ''self'''
|
61
|
+
body:
|
62
|
+
encoding: ASCII-8BIT
|
63
|
+
string: '{"page":1,"pages":0,"limit":1000,"total":0,"items":[]}'
|
64
|
+
http_version:
|
65
|
+
recorded_at: Mon, 27 Jun 2016 15:57:26 GMT
|
66
|
+
- request:
|
67
|
+
method: post
|
68
|
+
uri: https://api.easybill.de/rest/v1/customers
|
69
|
+
body:
|
70
|
+
encoding: UTF-8
|
71
|
+
string: '{"company_name":"Fake","emails":[],"first_name":"John","last_name":"Doe","number":"TEST"}'
|
72
|
+
headers:
|
73
|
+
User-Agent:
|
74
|
+
- Faraday v0.9.2
|
75
|
+
Authorization:
|
76
|
+
- Basic easybill-basic-auth-key
|
77
|
+
Content-Type:
|
78
|
+
- application/x-www-form-urlencoded
|
79
|
+
Accept-Encoding:
|
80
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
81
|
+
Accept:
|
82
|
+
- "*/*"
|
83
|
+
response:
|
84
|
+
status:
|
85
|
+
code: 201
|
86
|
+
message: Created
|
87
|
+
headers:
|
88
|
+
Server:
|
89
|
+
- nginx
|
90
|
+
Date:
|
91
|
+
- Mon, 27 Jun 2016 15:57:26 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: '{"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":"Fake","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":"John","grace_period":null,"group_id":null,"id":72277465,"info_1":null,"info_2":null,"internet":null,"last_name":"Doe","login_id":20454,"mobile":null,"note":null,"number":"TEST","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":"TEST","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}'
|
126
|
+
http_version:
|
127
|
+
recorded_at: Mon, 27 Jun 2016 15:57:26 GMT
|
128
|
+
- request:
|
129
|
+
method: put
|
130
|
+
uri: https://api.easybill.de/rest/v1/customers/72277465
|
131
|
+
body:
|
132
|
+
encoding: UTF-8
|
133
|
+
string: '{"id":72277465,"cash_allowance_days":"0","company_name":"Fake","country":"DE","delivery_personal":"false","delivery_salutation":"0","emails":[],"first_name":"Bob","last_name":"Doe","number":"TEST","personal":false,"salutation":"0","sepa_mandate_reference":"TEST"}'
|
134
|
+
headers:
|
135
|
+
User-Agent:
|
136
|
+
- Faraday v0.9.2
|
137
|
+
Authorization:
|
138
|
+
- Basic easybill-basic-auth-key
|
139
|
+
Content-Type:
|
140
|
+
- application/x-www-form-urlencoded
|
141
|
+
Accept-Encoding:
|
142
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
143
|
+
Accept:
|
144
|
+
- "*/*"
|
145
|
+
response:
|
146
|
+
status:
|
147
|
+
code: 200
|
148
|
+
message: OK
|
149
|
+
headers:
|
150
|
+
Server:
|
151
|
+
- nginx
|
152
|
+
Date:
|
153
|
+
- Mon, 27 Jun 2016 15:57:27 GMT
|
154
|
+
Content-Type:
|
155
|
+
- application/json
|
156
|
+
Transfer-Encoding:
|
157
|
+
- chunked
|
158
|
+
Connection:
|
159
|
+
- keep-alive
|
160
|
+
Vary:
|
161
|
+
- Accept-Encoding
|
162
|
+
- Accept-Encoding
|
163
|
+
Cache-Control:
|
164
|
+
- private, must-revalidate
|
165
|
+
Pragma:
|
166
|
+
- no-cache
|
167
|
+
Expires:
|
168
|
+
- "-1"
|
169
|
+
Strict-Transport-Security:
|
170
|
+
- max-age=31536000
|
171
|
+
X-Frame-Options:
|
172
|
+
- SAMEORIGIN
|
173
|
+
X-Content-Type-Options:
|
174
|
+
- nosniff
|
175
|
+
X-Xss-Protection:
|
176
|
+
- 1; mode=block
|
177
|
+
Content-Security-Policy:
|
178
|
+
- 'default-src ''self''; connect-src ''self'' *.easybill.de *.paymill.de *.paymill.com;
|
179
|
+
script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.paymill.de *.paymill.com
|
180
|
+
*.google-analytics.com *.googleadservices.com d2wy8f7a9ursnm.cloudfront.net;
|
181
|
+
img-src ''self'' data: *.doubleclick.net notify.bugsnag.com *.paypalobjects.com
|
182
|
+
online.swagger.io *.google-analytics.com *.google.com *.google.de *.google.at
|
183
|
+
*.google.ch; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com; font-src
|
184
|
+
''self'' themes.googleusercontent.com fonts.gstatic.com; frame-src ''self''
|
185
|
+
*.googleadservices.com ssl.kaptcha.com *.paymill.de *.paymill.com *.mediafinanz.de
|
186
|
+
*.google.de *.google.com *.google.at *.google.ch *.doubleclick.net player.vimeo.com
|
187
|
+
*.facebook.com; object-src ''self'''
|
188
|
+
body:
|
189
|
+
encoding: ASCII-8BIT
|
190
|
+
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":"Fake","country":"DE","delivery_city":null,"delivery_company_name":null,"delivery_country":null,"delivery_first_name":null,"delivery_last_name":null,"delivery_personal":true,"delivery_salutation":0,"delivery_street":null,"delivery_suffix_1":null,"delivery_suffix_2":null,"delivery_zip_code":null,"emails":[],"fax":null,"first_name":"Bob","grace_period":null,"group_id":null,"id":72277465,"info_1":null,"info_2":null,"internet":null,"last_name":"Doe","login_id":20454,"mobile":null,"note":null,"number":"TEST","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":"TEST","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}'
|
191
|
+
http_version:
|
192
|
+
recorded_at: Mon, 27 Jun 2016 15:57:27 GMT
|
193
|
+
- request:
|
194
|
+
method: get
|
195
|
+
uri: https://api.easybill.de/rest/v1/customers/72277465
|
196
|
+
body:
|
197
|
+
encoding: US-ASCII
|
198
|
+
string: ''
|
199
|
+
headers:
|
200
|
+
User-Agent:
|
201
|
+
- Faraday v0.9.2
|
202
|
+
Authorization:
|
203
|
+
- Basic easybill-basic-auth-key
|
204
|
+
Accept-Encoding:
|
205
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
206
|
+
Accept:
|
207
|
+
- "*/*"
|
208
|
+
response:
|
209
|
+
status:
|
210
|
+
code: 200
|
211
|
+
message: OK
|
212
|
+
headers:
|
213
|
+
Server:
|
214
|
+
- nginx
|
215
|
+
Date:
|
216
|
+
- Mon, 27 Jun 2016 15:57:27 GMT
|
217
|
+
Content-Type:
|
218
|
+
- application/json
|
219
|
+
Transfer-Encoding:
|
220
|
+
- chunked
|
221
|
+
Connection:
|
222
|
+
- keep-alive
|
223
|
+
Vary:
|
224
|
+
- Accept-Encoding
|
225
|
+
- Accept-Encoding
|
226
|
+
Cache-Control:
|
227
|
+
- private, must-revalidate
|
228
|
+
Pragma:
|
229
|
+
- no-cache
|
230
|
+
Expires:
|
231
|
+
- "-1"
|
232
|
+
Strict-Transport-Security:
|
233
|
+
- max-age=31536000
|
234
|
+
X-Frame-Options:
|
235
|
+
- SAMEORIGIN
|
236
|
+
X-Content-Type-Options:
|
237
|
+
- nosniff
|
238
|
+
X-Xss-Protection:
|
239
|
+
- 1; mode=block
|
240
|
+
Content-Security-Policy:
|
241
|
+
- 'default-src ''self''; connect-src ''self'' *.easybill.de *.paymill.de *.paymill.com;
|
242
|
+
script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.paymill.de *.paymill.com
|
243
|
+
*.google-analytics.com *.googleadservices.com d2wy8f7a9ursnm.cloudfront.net;
|
244
|
+
img-src ''self'' data: *.doubleclick.net notify.bugsnag.com *.paypalobjects.com
|
245
|
+
online.swagger.io *.google-analytics.com *.google.com *.google.de *.google.at
|
246
|
+
*.google.ch; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com; font-src
|
247
|
+
''self'' themes.googleusercontent.com fonts.gstatic.com; frame-src ''self''
|
248
|
+
*.googleadservices.com ssl.kaptcha.com *.paymill.de *.paymill.com *.mediafinanz.de
|
249
|
+
*.google.de *.google.com *.google.at *.google.ch *.doubleclick.net player.vimeo.com
|
250
|
+
*.facebook.com; object-src ''self'''
|
251
|
+
body:
|
252
|
+
encoding: ASCII-8BIT
|
253
|
+
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":"Fake","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":"Bob","grace_period":null,"group_id":null,"id":72277465,"info_1":null,"info_2":null,"internet":null,"last_name":"Doe","login_id":20454,"mobile":null,"note":null,"number":"TEST","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":"TEST","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}'
|
254
|
+
http_version:
|
255
|
+
recorded_at: Mon, 27 Jun 2016 15:57:27 GMT
|
256
|
+
- request:
|
257
|
+
method: delete
|
258
|
+
uri: https://api.easybill.de/rest/v1/customers/72277465
|
259
|
+
body:
|
260
|
+
encoding: US-ASCII
|
261
|
+
string: ''
|
262
|
+
headers:
|
263
|
+
User-Agent:
|
264
|
+
- Faraday v0.9.2
|
265
|
+
Authorization:
|
266
|
+
- Basic easybill-basic-auth-key
|
267
|
+
Accept-Encoding:
|
268
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
269
|
+
Accept:
|
270
|
+
- "*/*"
|
271
|
+
response:
|
272
|
+
status:
|
273
|
+
code: 204
|
274
|
+
message: No Content
|
275
|
+
headers:
|
276
|
+
Server:
|
277
|
+
- nginx
|
278
|
+
Date:
|
279
|
+
- Mon, 27 Jun 2016 15:57:27 GMT
|
280
|
+
Content-Type:
|
281
|
+
- text/html; charset=UTF-8
|
282
|
+
Connection:
|
283
|
+
- keep-alive
|
284
|
+
Cache-Control:
|
285
|
+
- private, must-revalidate
|
286
|
+
Pragma:
|
287
|
+
- no-cache
|
288
|
+
Expires:
|
289
|
+
- "-1"
|
290
|
+
Strict-Transport-Security:
|
291
|
+
- max-age=31536000
|
292
|
+
X-Frame-Options:
|
293
|
+
- SAMEORIGIN
|
294
|
+
X-Content-Type-Options:
|
295
|
+
- nosniff
|
296
|
+
X-Xss-Protection:
|
297
|
+
- 1; mode=block
|
298
|
+
Content-Security-Policy:
|
299
|
+
- 'default-src ''self''; connect-src ''self'' *.easybill.de *.paymill.de *.paymill.com;
|
300
|
+
script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.paymill.de *.paymill.com
|
301
|
+
*.google-analytics.com *.googleadservices.com d2wy8f7a9ursnm.cloudfront.net;
|
302
|
+
img-src ''self'' data: *.doubleclick.net notify.bugsnag.com *.paypalobjects.com
|
303
|
+
online.swagger.io *.google-analytics.com *.google.com *.google.de *.google.at
|
304
|
+
*.google.ch; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com; font-src
|
305
|
+
''self'' themes.googleusercontent.com fonts.gstatic.com; frame-src ''self''
|
306
|
+
*.googleadservices.com ssl.kaptcha.com *.paymill.de *.paymill.com *.mediafinanz.de
|
307
|
+
*.google.de *.google.com *.google.at *.google.ch *.doubleclick.net player.vimeo.com
|
308
|
+
*.facebook.com; object-src ''self'''
|
309
|
+
body:
|
310
|
+
encoding: UTF-8
|
311
|
+
string: ''
|
312
|
+
http_version:
|
313
|
+
recorded_at: Mon, 27 Jun 2016 15:57:27 GMT
|
314
|
+
- request:
|
315
|
+
method: get
|
316
|
+
uri: https://api.easybill.de/rest/v1/customers?limit=1000&number=TEST&page=1
|
317
|
+
body:
|
318
|
+
encoding: US-ASCII
|
319
|
+
string: ''
|
320
|
+
headers:
|
321
|
+
User-Agent:
|
322
|
+
- Faraday v0.9.2
|
323
|
+
Authorization:
|
324
|
+
- Basic easybill-basic-auth-key
|
325
|
+
Accept-Encoding:
|
326
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
327
|
+
Accept:
|
328
|
+
- "*/*"
|
329
|
+
response:
|
330
|
+
status:
|
331
|
+
code: 200
|
332
|
+
message: OK
|
333
|
+
headers:
|
334
|
+
Server:
|
335
|
+
- nginx
|
336
|
+
Date:
|
337
|
+
- Mon, 27 Jun 2016 15:57:28 GMT
|
338
|
+
Content-Type:
|
339
|
+
- application/json
|
340
|
+
Transfer-Encoding:
|
341
|
+
- chunked
|
342
|
+
Connection:
|
343
|
+
- keep-alive
|
344
|
+
Vary:
|
345
|
+
- Accept-Encoding
|
346
|
+
- Accept-Encoding
|
347
|
+
Cache-Control:
|
348
|
+
- private, must-revalidate
|
349
|
+
Pragma:
|
350
|
+
- no-cache
|
351
|
+
Expires:
|
352
|
+
- "-1"
|
353
|
+
Strict-Transport-Security:
|
354
|
+
- max-age=31536000
|
355
|
+
X-Frame-Options:
|
356
|
+
- SAMEORIGIN
|
357
|
+
X-Content-Type-Options:
|
358
|
+
- nosniff
|
359
|
+
X-Xss-Protection:
|
360
|
+
- 1; mode=block
|
361
|
+
Content-Security-Policy:
|
362
|
+
- 'default-src ''self''; connect-src ''self'' *.easybill.de *.paymill.de *.paymill.com;
|
363
|
+
script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.paymill.de *.paymill.com
|
364
|
+
*.google-analytics.com *.googleadservices.com d2wy8f7a9ursnm.cloudfront.net;
|
365
|
+
img-src ''self'' data: *.doubleclick.net notify.bugsnag.com *.paypalobjects.com
|
366
|
+
online.swagger.io *.google-analytics.com *.google.com *.google.de *.google.at
|
367
|
+
*.google.ch; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com; font-src
|
368
|
+
''self'' themes.googleusercontent.com fonts.gstatic.com; frame-src ''self''
|
369
|
+
*.googleadservices.com ssl.kaptcha.com *.paymill.de *.paymill.com *.mediafinanz.de
|
370
|
+
*.google.de *.google.com *.google.at *.google.ch *.doubleclick.net player.vimeo.com
|
371
|
+
*.facebook.com; object-src ''self'''
|
372
|
+
body:
|
373
|
+
encoding: ASCII-8BIT
|
374
|
+
string: '{"page":1,"pages":0,"limit":1000,"total":0,"items":[]}'
|
375
|
+
http_version:
|
376
|
+
recorded_at: Mon, 27 Jun 2016 15:57:28 GMT
|
377
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,44 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.easybill.de/rest/v1/documents?type=INVOICE
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.9.2
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
+
Accept:
|
15
|
+
- "*/*"
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 401
|
19
|
+
message: Unauthorized
|
20
|
+
headers:
|
21
|
+
Server:
|
22
|
+
- nginx/1.8.1
|
23
|
+
Date:
|
24
|
+
- Fri, 01 Apr 2016 10:32:20 GMT
|
25
|
+
Content-Type:
|
26
|
+
- application/json
|
27
|
+
Transfer-Encoding:
|
28
|
+
- chunked
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
Cache-Control:
|
32
|
+
- private, must-revalidate
|
33
|
+
Www-Authenticate:
|
34
|
+
- Basic realm="API Key"
|
35
|
+
Pragma:
|
36
|
+
- no-cache
|
37
|
+
Expires:
|
38
|
+
- "-1"
|
39
|
+
body:
|
40
|
+
encoding: UTF-8
|
41
|
+
string: '{"code":401,"message":"Wrong or missing Authorization header."}'
|
42
|
+
http_version:
|
43
|
+
recorded_at: Fri, 01 Apr 2016 10:32:20 GMT
|
44
|
+
recorded_with: VCR 3.0.1
|