quaderno 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +7 -7
- data/VERSION +1 -1
- data/build_install.sh +1 -1
- data/changelog.md +4 -0
- data/lib/quaderno-ruby/base.rb +21 -17
- data/lib/quaderno-ruby/behavior/crud.rb +5 -5
- data/lib/quaderno-ruby/behavior/deliver.rb +1 -1
- data/lib/quaderno-ruby/behavior/payment.rb +2 -2
- data/quaderno.gemspec +3 -3
- data/test/fixtures/.DS_Store +0 -0
- data/test/fixtures/quaderno_cassettes/all_contacts.yml +15 -27
- data/test/fixtures/quaderno_cassettes/all_estimates.yml +19 -12
- data/test/fixtures/quaderno_cassettes/all_expenses.yml +17 -13
- data/test/fixtures/quaderno_cassettes/all_invoices.yml +18 -91
- data/test/fixtures/quaderno_cassettes/all_items.yml +10 -10
- data/test/fixtures/quaderno_cassettes/all_webhooks.yml +45 -45
- data/test/fixtures/quaderno_cassettes/deleted_contact.yml +49 -72
- data/test/fixtures/quaderno_cassettes/deleted_estimate.yml +54 -62
- data/test/fixtures/quaderno_cassettes/deleted_expense.yml +52 -63
- data/test/fixtures/quaderno_cassettes/deleted_invoice.yml +53 -140
- data/test/fixtures/quaderno_cassettes/deleted_item.yml +28 -28
- data/test/fixtures/quaderno_cassettes/deleted_webhook.yml +54 -54
- data/test/fixtures/quaderno_cassettes/delivered_estimate.yml +33 -26
- data/test/fixtures/quaderno_cassettes/delivered_invoice.yml +38 -113
- data/test/fixtures/quaderno_cassettes/found_contact.yml +26 -36
- data/test/fixtures/quaderno_cassettes/found_estimate.yml +34 -24
- data/test/fixtures/quaderno_cassettes/found_expense.yml +30 -26
- data/test/fixtures/quaderno_cassettes/found_invoice.yml +31 -110
- data/test/fixtures/quaderno_cassettes/found_item.yml +20 -19
- data/test/fixtures/quaderno_cassettes/found_webhook.yml +27 -27
- data/test/fixtures/quaderno_cassettes/new_contact.yml +10 -10
- data/test/fixtures/quaderno_cassettes/new_estimate.yml +35 -50
- data/test/fixtures/quaderno_cassettes/new_expense.yml +52 -63
- data/test/fixtures/quaderno_cassettes/new_invoice.yml +35 -49
- data/test/fixtures/quaderno_cassettes/new_item.yml +10 -10
- data/test/fixtures/quaderno_cassettes/new_webhook.yml +18 -18
- data/test/fixtures/quaderno_cassettes/paid_expense.yml +27 -23
- data/test/fixtures/quaderno_cassettes/paid_invoice.yml +28 -101
- data/test/fixtures/quaderno_cassettes/rate_limit.yml +7 -7
- data/test/fixtures/quaderno_cassettes/unpay_an_expense.yml +36 -32
- data/test/fixtures/quaderno_cassettes/unpay_an_invoice.yml +37 -110
- data/test/fixtures/quaderno_cassettes/updated_contact.yml +27 -37
- data/test/fixtures/quaderno_cassettes/updated_estimate.yml +46 -62
- data/test/fixtures/quaderno_cassettes/updated_expense.yml +45 -61
- data/test/fixtures/quaderno_cassettes/updated_invoice.yml +46 -61
- data/test/fixtures/quaderno_cassettes/updated_item.yml +20 -20
- data/test/fixtures/quaderno_cassettes/updated_webhook.yml +37 -37
- data/test/unit/test_quaderno_contacts.rb +2 -2
- data/test/unit/test_quaderno_estimates.rb +2 -2
- data/test/unit/test_quaderno_expenses.rb +2 -2
- data/test/unit/test_quaderno_invoices.rb +2 -2
- data/test/unit/test_quaderno_items.rb +2 -2
- data/test/unit/test_quaderno_webhooks.rb +2 -2
- metadata +2 -2
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://
|
5
|
+
uri: http://RsNaLsNr1KZcdrQRKKKk@uruk-1066.sandbox-quadernoapp.com/api/v1/contacts.json
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
authorization:
|
11
|
-
- Basic
|
11
|
+
- Basic UnNOYUxzTnIxS1pjZHJRUktLS2s6
|
12
12
|
response:
|
13
13
|
status:
|
14
14
|
code: 200
|
@@ -17,7 +17,7 @@ http_interactions:
|
|
17
17
|
server:
|
18
18
|
- nginx/1.4.5
|
19
19
|
date:
|
20
|
-
-
|
20
|
+
- Tue, 01 Jul 2014 09:06:16 GMT
|
21
21
|
content-type:
|
22
22
|
- application/json; charset=utf-8
|
23
23
|
transfer-encoding:
|
@@ -29,56 +29,42 @@ http_interactions:
|
|
29
29
|
x-ratelimit-limit:
|
30
30
|
- '2000'
|
31
31
|
x-ratelimit-remaining:
|
32
|
-
- '
|
32
|
+
- '1986'
|
33
33
|
x-pages-currentpage:
|
34
34
|
- '1'
|
35
35
|
x-pages-totalpages:
|
36
|
-
- '
|
36
|
+
- '1'
|
37
37
|
x-ua-compatible:
|
38
38
|
- IE=Edge,chrome=1
|
39
39
|
etag:
|
40
|
-
- ! '"
|
40
|
+
- ! '"bcad972a420d51a47d312c5b43926c87"'
|
41
41
|
cache-control:
|
42
42
|
- must-revalidate, private, max-age=0
|
43
43
|
x-request-id:
|
44
|
-
-
|
44
|
+
- 907ce64e0a6d6553b7b3d4f955bd01c7
|
45
45
|
x-runtime:
|
46
|
-
- '0.
|
46
|
+
- '0.117712'
|
47
47
|
x-rack-cache:
|
48
48
|
- miss
|
49
49
|
body:
|
50
50
|
encoding: US-ASCII
|
51
|
-
string: ! '[{"id":
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
Canaria;;;Espa\u00f1a","street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":"668829133","phone_2":null,"fax":null,"email":"aramos.gcc@gmail.com","web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/717"},{"id":748,"kind":"company","full_name":"Antonio Brito","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":"605100535","phone_2":null,"fax":null,"email":null,"web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/748"},{"id":752,"kind":"company","full_name":"Antonio
|
58
|
-
C. Dom\u00ednguez Brito","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":null,"phone_2":null,"fax":null,"email":"adominguez@iusiani.ulpgc.es","web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/752"},{"id":733,"kind":"company","full_name":"aviso_llegada","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":null,"phone_2":null,"fax":null,"email":"avisollegada@adtpostales.com","web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/733"},{"id":764,"kind":"company","full_name":"Aythami","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":"678875767","phone_2":null,"fax":null,"email":null,"web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/764"},{"id":736,"kind":"company","full_name":"Borja
|
59
|
-
Santana Corvo","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":null,"phone_2":null,"fax":null,"email":"ahviel@hotmail.com","web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/736"},{"id":713,"kind":"company","full_name":"Bycor","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":"+34646675709","phone_2":null,"fax":null,"email":null,"web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/713"},{"id":728,"kind":"company","full_name":"Bycor
|
60
|
-
S\u00e1nchez","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":null,"phone_2":null,"fax":null,"email":"bycor1989@gmail.com","web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/728"},{"id":729,"kind":"company","full_name":"Canal
|
61
|
-
Amena","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":"2224","phone_2":null,"fax":null,"email":null,"web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/729"},{"id":755,"kind":"company","full_name":"Carlos
|
62
|
-
Hern\u00e1ndez","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":"620815221","phone_2":null,"fax":null,"email":"carlos@recrea.es","web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/755"},{"id":735,"kind":"company","full_name":"Carlos
|
63
|
-
Hern\u00e1ndez Medina","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":null,"phone_2":null,"fax":null,"email":"carlos@recrea.es","web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/735"},{"id":686,"kind":"company","full_name":"Coolmod","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":"902
|
64
|
-
88 85 34","phone_2":null,"fax":null,"email":null,"web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/686"},{"id":749,"kind":"company","full_name":"Cristina","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":"+34650756263","phone_2":null,"fax":null,"email":null,"web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/749"},{"id":726,"kind":"company","full_name":"Cruz
|
65
|
-
Roja","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":"987795001","phone_2":null,"fax":null,"email":null,"web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/726"},{"id":763,"kind":"company","full_name":"Dalia","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":"637
|
66
|
-
22 08 60","phone_2":null,"fax":null,"email":null,"web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/763"},{"id":711,"kind":"company","full_name":"David","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":"620453446","phone_2":null,"fax":null,"email":null,"web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/711"},{"id":673,"kind":"company","full_name":"David
|
67
|
-
Meli\u00e1n Godoy","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":null,"phone_2":null,"fax":null,"email":"dmg_dragon@hotmail.com","web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/673"},{"id":756,"kind":"company","full_name":"David
|
68
|
-
Santiago","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":"660608373","phone_2":null,"fax":null,"email":null,"web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/756"},{"id":114,"kind":"person","first_name":"Direct","last_name":"Debit","full_name":"Direct
|
69
|
-
Debit","street_line_1":"Bernardo de la Torre 104","street_line_2":"","postal_code":"35007","city":"Las
|
70
|
-
Palmas de Gran Canaria","region":"Las Palmas","country":"ES","phone_1":"","phone_2":"","fax":"","email":"totoro.estepario@gmail.com","web":"","discount":null,"tax_id":"12345678Z","bank_account":"ES9121000418450200051332","language":"EN","notes":"","url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/114"}]'
|
51
|
+
string: ! '[{"id":142297,"kind":"company","full_name":"Dummy","contact_name":null,"street_line_1":"","street_line_2":null,"postal_code":"","city":"","region":"","country":"US","phone_1":"","phone_2":null,"fax":null,"email":"","web":null,"discount":null,"tax_id":"","language":"ES","notes":null,"url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/contacts/142297"},{"id":142302,"kind":"company","full_name":"Pepe
|
52
|
+
Gotera & Otilio","contact_name":null,"street_line_1":"","street_line_2":null,"postal_code":"","city":"","region":"","country":"ES","phone_1":"","phone_2":null,"fax":null,"email":"","web":null,"discount":null,"tax_id":"","bank_account":null,"language":"ES","notes":null,"url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/contacts/142302"},{"id":142298,"kind":"company","full_name":"Test","contact_name":null,"street_line_1":"Evergreen
|
53
|
+
Terrace","street_line_2":null,"postal_code":"K0A 1B0","city":"Springfield","region":"","country":"US","phone_1":"3447277","phone_2":null,"fax":null,"email":"","web":null,"discount":null,"tax_id":"","language":"ES","notes":null,"url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/contacts/142298"},{"id":142299,"kind":"person","first_name":"Test_OCP","last_name":"Stanman","full_name":"Test_OCP
|
54
|
+
Stanman","street_line_1":"","street_line_2":null,"postal_code":"","city":"","region":"Monkey
|
55
|
+
Island","country":"BS","phone_1":"","phone_2":null,"fax":null,"email":"dont@stop.believing","web":null,"discount":null,"tax_id":"","language":"ES","notes":null,"url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/contacts/142299"},{"id":142303,"kind":"company","full_name":"Test_Skynet","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"US","phone_1":null,"phone_2":null,"fax":null,"email":"my_little@po.ny","web":null,"discount":null,"tax_id":null,"language":"EN","notes":null,"url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/contacts/142303"},{"id":142301,"kind":"person","first_name":"Vince","last_name":"Offer","full_name":"Vince
|
56
|
+
Offer","street_line_1":"","street_line_2":null,"postal_code":"","city":"","region":"","country":"US","phone_1":"","phone_2":null,"fax":null,"email":"","web":null,"discount":null,"tax_id":"","language":"ES","notes":null,"url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/contacts/142301"}]'
|
71
57
|
http_version: '1.1'
|
72
|
-
recorded_at:
|
58
|
+
recorded_at: Tue, 01 Jul 2014 09:06:16 GMT
|
73
59
|
- request:
|
74
60
|
method: post
|
75
|
-
uri: http://
|
61
|
+
uri: http://RsNaLsNr1KZcdrQRKKKk@uruk-1066.sandbox-quadernoapp.com/api/v1/estimates.json
|
76
62
|
body:
|
77
63
|
encoding: US-ASCII
|
78
|
-
string: contact_id=
|
64
|
+
string: contact_id=142297&number=test%20number%204400&contact_name=Dummy¤cy=EUR&items_attributes[][description]=Aircraft&items_attributes[][quantity]=1.0&items_attributes[][unit_price]=0.0&tags=tnt&payment_details=¬es=
|
79
65
|
headers:
|
80
66
|
authorization:
|
81
|
-
- Basic
|
67
|
+
- Basic UnNOYUxzTnIxS1pjZHJRUktLS2s6
|
82
68
|
response:
|
83
69
|
status:
|
84
70
|
code: 201
|
@@ -87,7 +73,7 @@ http_interactions:
|
|
87
73
|
server:
|
88
74
|
- nginx/1.4.5
|
89
75
|
date:
|
90
|
-
-
|
76
|
+
- Tue, 01 Jul 2014 09:06:17 GMT
|
91
77
|
content-type:
|
92
78
|
- application/json; charset=utf-8
|
93
79
|
transfer-encoding:
|
@@ -99,39 +85,38 @@ http_interactions:
|
|
99
85
|
x-ratelimit-limit:
|
100
86
|
- '2000'
|
101
87
|
x-ratelimit-remaining:
|
102
|
-
- '
|
88
|
+
- '1985'
|
103
89
|
x-ua-compatible:
|
104
90
|
- IE=Edge,chrome=1
|
105
91
|
etag:
|
106
|
-
- ! '"
|
92
|
+
- ! '"c9f53ed984cea03f30bf2535b18e8fdd"'
|
107
93
|
cache-control:
|
108
94
|
- max-age=0, private, must-revalidate
|
109
95
|
set-cookie:
|
110
|
-
- _quaderno_session=
|
96
|
+
- _quaderno_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJWJlMmRkZjhlMGU5ZjI0YThjMDIzMTAzYmRhODU1MDMwBjsAVA%3D%3D--ab3193b2780bae9c08514ef7169ae7d791046a81;
|
111
97
|
domain=sandbox-quadernoapp.com; path=/; HttpOnly
|
112
98
|
x-request-id:
|
113
|
-
-
|
99
|
+
- cae65e9fb57c35f0abf62e69f9d18f2a
|
114
100
|
x-runtime:
|
115
|
-
- '0.
|
101
|
+
- '0.211549'
|
116
102
|
x-rack-cache:
|
117
103
|
- invalidate, pass
|
118
104
|
body:
|
119
105
|
encoding: US-ASCII
|
120
|
-
string: ! '{"id":
|
121
|
-
esatipa"},"po_number":null,"currency":"EUR","items":[{"id":695,"description":"Aircraft","quantity":"1.0","unit_price":"0.0","discount_rate":"0.0","tax_1_name":null,"tax_1_rate":null,"tax_2_name":null,"tax_2_rate":null,"reference":null,"subtotal":"0.00
|
106
|
+
string: ! '{"id":492374,"number":"test number 4400","issue_date":"2014-07-01","contact":{"id":142297,"full_name":"Dummy"},"po_number":null,"currency":"EUR","items":[{"id":1294893,"description":"Aircraft","quantity":"1.0","unit_price":"0.0","discount_rate":"0.0","tax_1_name":null,"tax_1_rate":null,"tax_2_name":null,"tax_2_rate":null,"reference":null,"subtotal":"0.00
|
122
107
|
\u20ac","discount":"0.00 \u20ac","gross_amount":"0.00 \u20ac"}],"subtotal":"0.00
|
123
|
-
\u20ac","discount":"0.00 \u20ac","taxes":[],"total":"0.00 \u20ac","payment_details":"","notes":"","state":"draft","tag_list":[],"secure_id":"
|
108
|
+
\u20ac","discount":"0.00 \u20ac","taxes":[],"total":"0.00 \u20ac","payment_details":"","notes":"","state":"draft","tag_list":[],"secure_id":"5c4a02b115783519fe8c5fe6fa0561c1f1b7c4ef","permalink":"http://uruk-1066.sandbox-quadernoapp.com/estimate/5c4a02b115783519fe8c5fe6fa0561c1f1b7c4ef","url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/estimates/492374.json"}'
|
124
109
|
http_version: '1.1'
|
125
|
-
recorded_at:
|
110
|
+
recorded_at: Tue, 01 Jul 2014 09:06:18 GMT
|
126
111
|
- request:
|
127
112
|
method: delete
|
128
|
-
uri: http://
|
113
|
+
uri: http://RsNaLsNr1KZcdrQRKKKk@uruk-1066.sandbox-quadernoapp.com/api/v1/estimates/492374.json
|
129
114
|
body:
|
130
115
|
encoding: US-ASCII
|
131
116
|
string: ''
|
132
117
|
headers:
|
133
118
|
authorization:
|
134
|
-
- Basic
|
119
|
+
- Basic UnNOYUxzTnIxS1pjZHJRUktLS2s6
|
135
120
|
response:
|
136
121
|
status:
|
137
122
|
code: 204
|
@@ -140,7 +125,7 @@ http_interactions:
|
|
140
125
|
server:
|
141
126
|
- nginx/1.4.5
|
142
127
|
date:
|
143
|
-
-
|
128
|
+
- Tue, 01 Jul 2014 09:06:18 GMT
|
144
129
|
connection:
|
145
130
|
- close
|
146
131
|
status:
|
@@ -148,34 +133,34 @@ http_interactions:
|
|
148
133
|
x-ratelimit-limit:
|
149
134
|
- '2000'
|
150
135
|
x-ratelimit-remaining:
|
151
|
-
- '
|
136
|
+
- '1984'
|
152
137
|
x-ua-compatible:
|
153
138
|
- IE=Edge,chrome=1
|
154
139
|
cache-control:
|
155
140
|
- no-cache
|
156
141
|
set-cookie:
|
157
|
-
- _quaderno_session=
|
142
|
+
- _quaderno_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJTBjMzA4YzFkZjZhMDQxNzlmMmZhMGQ0NWI3OWE5YTY4BjsAVA%3D%3D--4ddd25bb950d692bded4a328ce37d41dc2ff628c;
|
158
143
|
domain=sandbox-quadernoapp.com; path=/; HttpOnly
|
159
144
|
x-request-id:
|
160
|
-
-
|
145
|
+
- 717c10ddd1cd1daf91a99cabf57ca280
|
161
146
|
x-runtime:
|
162
|
-
- '0.
|
147
|
+
- '0.113198'
|
163
148
|
x-rack-cache:
|
164
149
|
- invalidate, pass
|
165
150
|
body:
|
166
151
|
encoding: US-ASCII
|
167
152
|
string: ''
|
168
153
|
http_version: '1.1'
|
169
|
-
recorded_at:
|
154
|
+
recorded_at: Tue, 01 Jul 2014 09:06:18 GMT
|
170
155
|
- request:
|
171
156
|
method: get
|
172
|
-
uri: http://
|
157
|
+
uri: http://RsNaLsNr1KZcdrQRKKKk@uruk-1066.sandbox-quadernoapp.com/api/v1/estimates.json
|
173
158
|
body:
|
174
159
|
encoding: US-ASCII
|
175
160
|
string: ''
|
176
161
|
headers:
|
177
162
|
authorization:
|
178
|
-
- Basic
|
163
|
+
- Basic UnNOYUxzTnIxS1pjZHJRUktLS2s6
|
179
164
|
response:
|
180
165
|
status:
|
181
166
|
code: 200
|
@@ -184,7 +169,7 @@ http_interactions:
|
|
184
169
|
server:
|
185
170
|
- nginx/1.4.5
|
186
171
|
date:
|
187
|
-
-
|
172
|
+
- Tue, 01 Jul 2014 09:06:19 GMT
|
188
173
|
content-type:
|
189
174
|
- application/json; charset=utf-8
|
190
175
|
transfer-encoding:
|
@@ -196,7 +181,7 @@ http_interactions:
|
|
196
181
|
x-ratelimit-limit:
|
197
182
|
- '2000'
|
198
183
|
x-ratelimit-remaining:
|
199
|
-
- '
|
184
|
+
- '1983'
|
200
185
|
x-pages-currentpage:
|
201
186
|
- '1'
|
202
187
|
x-pages-totalpages:
|
@@ -204,21 +189,28 @@ http_interactions:
|
|
204
189
|
x-ua-compatible:
|
205
190
|
- IE=Edge,chrome=1
|
206
191
|
etag:
|
207
|
-
- ! '"
|
192
|
+
- ! '"d33c420455711494333dc878dbb2cf3a"'
|
208
193
|
cache-control:
|
209
194
|
- must-revalidate, private, max-age=0
|
210
195
|
x-request-id:
|
211
|
-
-
|
196
|
+
- 9264acd4ff9b545574d02de8420e7136
|
212
197
|
x-runtime:
|
213
|
-
- '0.
|
198
|
+
- '0.123622'
|
214
199
|
x-rack-cache:
|
215
200
|
- miss
|
216
201
|
body:
|
217
202
|
encoding: US-ASCII
|
218
|
-
string: ! '[{"id":
|
219
|
-
|
220
|
-
|
221
|
-
\u20ac","discount":"0.00 \u20ac","
|
203
|
+
string: ! '[{"id":492372,"number":"0000002","issue_date":"2014-07-01","contact":{"id":142302,"full_name":"Pepe
|
204
|
+
Gotera & Otilio"},"po_number":"","currency":"EUR","items":[{"id":1294890,"description":"Test
|
205
|
+
Item #5","quantity":"1.0","unit_price":"52.0","discount_rate":"0.0","tax_1_name":"","tax_1_rate":null,"tax_2_name":"","tax_2_rate":null,"reference":"","subtotal":"52.00
|
206
|
+
\u20ac","discount":"0.00 \u20ac","gross_amount":"52.00 \u20ac"},{"id":1294891,"description":"Test
|
207
|
+
Item #6","quantity":"1.0","unit_price":"30.0","discount_rate":"0.0","tax_1_name":"","tax_1_rate":null,"tax_2_name":"","tax_2_rate":null,"reference":"","subtotal":"30.00
|
208
|
+
\u20ac","discount":"0.00 \u20ac","gross_amount":"30.00 \u20ac"}],"subtotal":"82.00
|
209
|
+
\u20ac","discount":"0.00 \u20ac","taxes":[],"total":"82.00 \u20ac","payment_details":"","notes":"","state":"draft","tag_list":[],"secure_id":"4cf5cf7de5fa21c0c68737db16aa8d4630d11d19","permalink":"http://uruk-1066.sandbox-quadernoapp.com/estimate/4cf5cf7de5fa21c0c68737db16aa8d4630d11d19","url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/estimates/492372.json"},{"id":492371,"number":"0000001","issue_date":"2014-07-01","contact":{"id":142302,"full_name":"Pepe
|
210
|
+
Gotera & Otilio"},"po_number":"","currency":"EUR","items":[{"id":1294889,"description":"Test
|
211
|
+
Item #4","quantity":"1.0","unit_price":"3430.0","discount_rate":"0.0","tax_1_name":"","tax_1_rate":null,"tax_2_name":"","tax_2_rate":null,"reference":"","subtotal":"3,430.00
|
212
|
+
\u20ac","discount":"0.00 \u20ac","gross_amount":"3,430.00 \u20ac"}],"subtotal":"3,430.00
|
213
|
+
\u20ac","discount":"0.00 \u20ac","taxes":[],"total":"3,430.00 \u20ac","payment_details":"","notes":"","state":"draft","tag_list":[],"secure_id":"4f635b1811bc6cc20a071fe4f85bf8733c04b451","permalink":"http://uruk-1066.sandbox-quadernoapp.com/estimate/4f635b1811bc6cc20a071fe4f85bf8733c04b451","url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/estimates/492371.json"}]'
|
222
214
|
http_version: '1.1'
|
223
|
-
recorded_at:
|
215
|
+
recorded_at: Tue, 01 Jul 2014 09:06:19 GMT
|
224
216
|
recorded_with: VCR 2.9.2
|
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://
|
5
|
+
uri: http://RsNaLsNr1KZcdrQRKKKk@uruk-1066.sandbox-quadernoapp.com/api/v1/contacts.json
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
authorization:
|
11
|
-
- Basic
|
11
|
+
- Basic UnNOYUxzTnIxS1pjZHJRUktLS2s6
|
12
12
|
response:
|
13
13
|
status:
|
14
14
|
code: 200
|
@@ -17,7 +17,7 @@ http_interactions:
|
|
17
17
|
server:
|
18
18
|
- nginx/1.4.5
|
19
19
|
date:
|
20
|
-
-
|
20
|
+
- Tue, 01 Jul 2014 09:07:14 GMT
|
21
21
|
content-type:
|
22
22
|
- application/json; charset=utf-8
|
23
23
|
transfer-encoding:
|
@@ -29,56 +29,42 @@ http_interactions:
|
|
29
29
|
x-ratelimit-limit:
|
30
30
|
- '2000'
|
31
31
|
x-ratelimit-remaining:
|
32
|
-
- '
|
32
|
+
- '1967'
|
33
33
|
x-pages-currentpage:
|
34
34
|
- '1'
|
35
35
|
x-pages-totalpages:
|
36
|
-
- '
|
36
|
+
- '1'
|
37
37
|
x-ua-compatible:
|
38
38
|
- IE=Edge,chrome=1
|
39
39
|
etag:
|
40
|
-
- ! '"
|
40
|
+
- ! '"bcad972a420d51a47d312c5b43926c87"'
|
41
41
|
cache-control:
|
42
42
|
- must-revalidate, private, max-age=0
|
43
43
|
x-request-id:
|
44
|
-
-
|
44
|
+
- e831385d500678ed23acde1edfe4149d
|
45
45
|
x-runtime:
|
46
|
-
- '0.
|
46
|
+
- '0.096000'
|
47
47
|
x-rack-cache:
|
48
48
|
- miss
|
49
49
|
body:
|
50
50
|
encoding: US-ASCII
|
51
|
-
string: ! '[{"id":
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
Canaria;;;Espa\u00f1a","street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":"668829133","phone_2":null,"fax":null,"email":"aramos.gcc@gmail.com","web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/717"},{"id":748,"kind":"company","full_name":"Antonio Brito","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":"605100535","phone_2":null,"fax":null,"email":null,"web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/748"},{"id":752,"kind":"company","full_name":"Antonio
|
58
|
-
C. Dom\u00ednguez Brito","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":null,"phone_2":null,"fax":null,"email":"adominguez@iusiani.ulpgc.es","web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/752"},{"id":733,"kind":"company","full_name":"aviso_llegada","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":null,"phone_2":null,"fax":null,"email":"avisollegada@adtpostales.com","web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/733"},{"id":764,"kind":"company","full_name":"Aythami","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":"678875767","phone_2":null,"fax":null,"email":null,"web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/764"},{"id":736,"kind":"company","full_name":"Borja
|
59
|
-
Santana Corvo","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":null,"phone_2":null,"fax":null,"email":"ahviel@hotmail.com","web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/736"},{"id":713,"kind":"company","full_name":"Bycor","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":"+34646675709","phone_2":null,"fax":null,"email":null,"web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/713"},{"id":728,"kind":"company","full_name":"Bycor
|
60
|
-
S\u00e1nchez","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":null,"phone_2":null,"fax":null,"email":"bycor1989@gmail.com","web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/728"},{"id":729,"kind":"company","full_name":"Canal
|
61
|
-
Amena","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":"2224","phone_2":null,"fax":null,"email":null,"web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/729"},{"id":755,"kind":"company","full_name":"Carlos
|
62
|
-
Hern\u00e1ndez","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":"620815221","phone_2":null,"fax":null,"email":"carlos@recrea.es","web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/755"},{"id":735,"kind":"company","full_name":"Carlos
|
63
|
-
Hern\u00e1ndez Medina","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":null,"phone_2":null,"fax":null,"email":"carlos@recrea.es","web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/735"},{"id":686,"kind":"company","full_name":"Coolmod","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":"902
|
64
|
-
88 85 34","phone_2":null,"fax":null,"email":null,"web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/686"},{"id":749,"kind":"company","full_name":"Cristina","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":"+34650756263","phone_2":null,"fax":null,"email":null,"web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/749"},{"id":726,"kind":"company","full_name":"Cruz
|
65
|
-
Roja","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":"987795001","phone_2":null,"fax":null,"email":null,"web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/726"},{"id":763,"kind":"company","full_name":"Dalia","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":"637
|
66
|
-
22 08 60","phone_2":null,"fax":null,"email":null,"web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/763"},{"id":711,"kind":"company","full_name":"David","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":"620453446","phone_2":null,"fax":null,"email":null,"web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/711"},{"id":673,"kind":"company","full_name":"David
|
67
|
-
Meli\u00e1n Godoy","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":null,"phone_2":null,"fax":null,"email":"dmg_dragon@hotmail.com","web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/673"},{"id":756,"kind":"company","full_name":"David
|
68
|
-
Santiago","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":"660608373","phone_2":null,"fax":null,"email":null,"web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/756"},{"id":114,"kind":"person","first_name":"Direct","last_name":"Debit","full_name":"Direct
|
69
|
-
Debit","street_line_1":"Bernardo de la Torre 104","street_line_2":"","postal_code":"35007","city":"Las
|
70
|
-
Palmas de Gran Canaria","region":"Las Palmas","country":"ES","phone_1":"","phone_2":"","fax":"","email":"totoro.estepario@gmail.com","web":"","discount":null,"tax_id":"12345678Z","bank_account":"ES9121000418450200051332","language":"EN","notes":"","url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/114"}]'
|
51
|
+
string: ! '[{"id":142297,"kind":"company","full_name":"Dummy","contact_name":null,"street_line_1":"","street_line_2":null,"postal_code":"","city":"","region":"","country":"US","phone_1":"","phone_2":null,"fax":null,"email":"","web":null,"discount":null,"tax_id":"","language":"ES","notes":null,"url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/contacts/142297"},{"id":142302,"kind":"company","full_name":"Pepe
|
52
|
+
Gotera & Otilio","contact_name":null,"street_line_1":"","street_line_2":null,"postal_code":"","city":"","region":"","country":"ES","phone_1":"","phone_2":null,"fax":null,"email":"","web":null,"discount":null,"tax_id":"","bank_account":null,"language":"ES","notes":null,"url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/contacts/142302"},{"id":142298,"kind":"company","full_name":"Test","contact_name":null,"street_line_1":"Evergreen
|
53
|
+
Terrace","street_line_2":null,"postal_code":"K0A 1B0","city":"Springfield","region":"","country":"US","phone_1":"3447277","phone_2":null,"fax":null,"email":"","web":null,"discount":null,"tax_id":"","language":"ES","notes":null,"url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/contacts/142298"},{"id":142299,"kind":"person","first_name":"Test_OCP","last_name":"Stanman","full_name":"Test_OCP
|
54
|
+
Stanman","street_line_1":"","street_line_2":null,"postal_code":"","city":"","region":"Monkey
|
55
|
+
Island","country":"BS","phone_1":"","phone_2":null,"fax":null,"email":"dont@stop.believing","web":null,"discount":null,"tax_id":"","language":"ES","notes":null,"url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/contacts/142299"},{"id":142303,"kind":"company","full_name":"Test_Skynet","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"US","phone_1":null,"phone_2":null,"fax":null,"email":"my_little@po.ny","web":null,"discount":null,"tax_id":null,"language":"EN","notes":null,"url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/contacts/142303"},{"id":142301,"kind":"person","first_name":"Vince","last_name":"Offer","full_name":"Vince
|
56
|
+
Offer","street_line_1":"","street_line_2":null,"postal_code":"","city":"","region":"","country":"US","phone_1":"","phone_2":null,"fax":null,"email":"","web":null,"discount":null,"tax_id":"","language":"ES","notes":null,"url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/contacts/142301"}]'
|
71
57
|
http_version: '1.1'
|
72
|
-
recorded_at:
|
58
|
+
recorded_at: Tue, 01 Jul 2014 09:07:14 GMT
|
73
59
|
- request:
|
74
60
|
method: post
|
75
|
-
uri: http://
|
61
|
+
uri: http://RsNaLsNr1KZcdrQRKKKk@uruk-1066.sandbox-quadernoapp.com/api/v1/expenses.json
|
76
62
|
body:
|
77
63
|
encoding: US-ASCII
|
78
|
-
string: contact_id=
|
64
|
+
string: contact_id=142297&contact_name=Dummy¤cy=EUR&items_attributes[][description]=Aircraft&items_attributes[][quantity]=1.0&items_attributes[][unit_price]=0.0&tags=tnt&payment_details=¬es=
|
79
65
|
headers:
|
80
66
|
authorization:
|
81
|
-
- Basic
|
67
|
+
- Basic UnNOYUxzTnIxS1pjZHJRUktLS2s6
|
82
68
|
response:
|
83
69
|
status:
|
84
70
|
code: 201
|
@@ -87,7 +73,7 @@ http_interactions:
|
|
87
73
|
server:
|
88
74
|
- nginx/1.4.5
|
89
75
|
date:
|
90
|
-
-
|
76
|
+
- Tue, 01 Jul 2014 09:07:14 GMT
|
91
77
|
content-type:
|
92
78
|
- application/json; charset=utf-8
|
93
79
|
transfer-encoding:
|
@@ -99,39 +85,38 @@ http_interactions:
|
|
99
85
|
x-ratelimit-limit:
|
100
86
|
- '2000'
|
101
87
|
x-ratelimit-remaining:
|
102
|
-
- '
|
88
|
+
- '1966'
|
103
89
|
x-ua-compatible:
|
104
90
|
- IE=Edge,chrome=1
|
105
91
|
etag:
|
106
|
-
- ! '"
|
92
|
+
- ! '"6dbb52b8598556c5cffe02198215d94f"'
|
107
93
|
cache-control:
|
108
94
|
- max-age=0, private, must-revalidate
|
109
95
|
set-cookie:
|
110
|
-
- _quaderno_session=
|
96
|
+
- _quaderno_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJTVmMDRlYmExYTUzNDU2OTI1YjdmZDJmNzNjNGRiZDNlBjsAVA%3D%3D--954ec7401f2573d93b88628b519a4725bf517690;
|
111
97
|
domain=sandbox-quadernoapp.com; path=/; HttpOnly
|
112
98
|
x-request-id:
|
113
|
-
-
|
99
|
+
- f308f7aac2f39b9cebea80e51de45ce7
|
114
100
|
x-runtime:
|
115
|
-
- '0.
|
101
|
+
- '0.165042'
|
116
102
|
x-rack-cache:
|
117
103
|
- invalidate, pass
|
118
104
|
body:
|
119
105
|
encoding: US-ASCII
|
120
|
-
string: ! '{"id":
|
121
|
-
esatipa"},"po_number":null,"currency":"EUR","items":[{"id":699,"description":"Aircraft","quantity":"1.0","unit_price":"0.0","discount_rate":"0.0","tax_1_name":null,"tax_1_rate":null,"tax_2_name":null,"tax_2_rate":null,"reference":null,"subtotal":"0.00
|
106
|
+
string: ! '{"id":492377,"number":null,"issue_date":"2014-07-01","contact":{"id":142297,"full_name":"Dummy"},"po_number":null,"currency":"EUR","items":[{"id":1294896,"description":"Aircraft","quantity":"1.0","unit_price":"0.0","discount_rate":"0.0","tax_1_name":null,"tax_1_rate":null,"tax_2_name":null,"tax_2_rate":null,"reference":null,"subtotal":"0.00
|
122
107
|
\u20ac","discount":"0.00 \u20ac","gross_amount":"0.00 \u20ac"}],"subtotal":"0.00
|
123
|
-
\u20ac","discount":"0.00 \u20ac","taxes":[],"total":"0.00 \u20ac","payments":[],"notes":"","state":"outstanding","tag_list":[],"url":"http://
|
108
|
+
\u20ac","discount":"0.00 \u20ac","taxes":[],"total":"0.00 \u20ac","payments":[],"notes":"","state":"outstanding","tag_list":[],"url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/expenses/492377.json"}'
|
124
109
|
http_version: '1.1'
|
125
|
-
recorded_at:
|
110
|
+
recorded_at: Tue, 01 Jul 2014 09:07:14 GMT
|
126
111
|
- request:
|
127
112
|
method: delete
|
128
|
-
uri: http://
|
113
|
+
uri: http://RsNaLsNr1KZcdrQRKKKk@uruk-1066.sandbox-quadernoapp.com/api/v1/expenses/492377.json
|
129
114
|
body:
|
130
115
|
encoding: US-ASCII
|
131
116
|
string: ''
|
132
117
|
headers:
|
133
118
|
authorization:
|
134
|
-
- Basic
|
119
|
+
- Basic UnNOYUxzTnIxS1pjZHJRUktLS2s6
|
135
120
|
response:
|
136
121
|
status:
|
137
122
|
code: 204
|
@@ -140,7 +125,7 @@ http_interactions:
|
|
140
125
|
server:
|
141
126
|
- nginx/1.4.5
|
142
127
|
date:
|
143
|
-
-
|
128
|
+
- Tue, 01 Jul 2014 09:07:15 GMT
|
144
129
|
connection:
|
145
130
|
- close
|
146
131
|
status:
|
@@ -148,34 +133,34 @@ http_interactions:
|
|
148
133
|
x-ratelimit-limit:
|
149
134
|
- '2000'
|
150
135
|
x-ratelimit-remaining:
|
151
|
-
- '
|
136
|
+
- '1965'
|
152
137
|
x-ua-compatible:
|
153
138
|
- IE=Edge,chrome=1
|
154
139
|
cache-control:
|
155
140
|
- no-cache
|
156
141
|
set-cookie:
|
157
|
-
- _quaderno_session=
|
142
|
+
- _quaderno_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJWUxYmMxOTMwZjE2ZGIxMzE2MjFlOGIwMWI2ODc0NDFmBjsAVA%3D%3D--1761ffd9afe052186960ac9da55c98338f62a90c;
|
158
143
|
domain=sandbox-quadernoapp.com; path=/; HttpOnly
|
159
144
|
x-request-id:
|
160
|
-
-
|
145
|
+
- a505b94b8238a7fddf0fa4a867d2f6cb
|
161
146
|
x-runtime:
|
162
|
-
- '0.
|
147
|
+
- '0.125482'
|
163
148
|
x-rack-cache:
|
164
149
|
- invalidate, pass
|
165
150
|
body:
|
166
151
|
encoding: US-ASCII
|
167
152
|
string: ''
|
168
153
|
http_version: '1.1'
|
169
|
-
recorded_at:
|
154
|
+
recorded_at: Tue, 01 Jul 2014 09:07:15 GMT
|
170
155
|
- request:
|
171
156
|
method: get
|
172
|
-
uri: http://
|
157
|
+
uri: http://RsNaLsNr1KZcdrQRKKKk@uruk-1066.sandbox-quadernoapp.com/api/v1/expenses.json
|
173
158
|
body:
|
174
159
|
encoding: US-ASCII
|
175
160
|
string: ''
|
176
161
|
headers:
|
177
162
|
authorization:
|
178
|
-
- Basic
|
163
|
+
- Basic UnNOYUxzTnIxS1pjZHJRUktLS2s6
|
179
164
|
response:
|
180
165
|
status:
|
181
166
|
code: 200
|
@@ -184,7 +169,7 @@ http_interactions:
|
|
184
169
|
server:
|
185
170
|
- nginx/1.4.5
|
186
171
|
date:
|
187
|
-
-
|
172
|
+
- Tue, 01 Jul 2014 09:07:16 GMT
|
188
173
|
content-type:
|
189
174
|
- application/json; charset=utf-8
|
190
175
|
transfer-encoding:
|
@@ -196,7 +181,7 @@ http_interactions:
|
|
196
181
|
x-ratelimit-limit:
|
197
182
|
- '2000'
|
198
183
|
x-ratelimit-remaining:
|
199
|
-
- '
|
184
|
+
- '1964'
|
200
185
|
x-pages-currentpage:
|
201
186
|
- '1'
|
202
187
|
x-pages-totalpages:
|
@@ -204,22 +189,26 @@ http_interactions:
|
|
204
189
|
x-ua-compatible:
|
205
190
|
- IE=Edge,chrome=1
|
206
191
|
etag:
|
207
|
-
- ! '"
|
192
|
+
- ! '"3e3f97d65226a933e567d56c0eec4407"'
|
208
193
|
cache-control:
|
209
194
|
- must-revalidate, private, max-age=0
|
210
195
|
x-request-id:
|
211
|
-
-
|
196
|
+
- e7d78e2a1e187b58e6f80095c9cec125
|
212
197
|
x-runtime:
|
213
|
-
- '0.
|
198
|
+
- '0.157094'
|
214
199
|
x-rack-cache:
|
215
200
|
- miss
|
216
201
|
body:
|
217
202
|
encoding: US-ASCII
|
218
|
-
string: ! '[{"id":
|
219
|
-
|
220
|
-
\u20ac","discount":"0.00 \u20ac","gross_amount":"
|
221
|
-
\u20ac","discount":"0.00 \u20ac","taxes":[],"total":"
|
222
|
-
\u20ac","url":"http://
|
203
|
+
string: ! '[{"id":492370,"number":null,"issue_date":"2014-07-01","contact":{"id":142301,"full_name":"Vince
|
204
|
+
Offer"},"po_number":"","currency":"EUR","items":[{"id":1294888,"description":"ShamWow","quantity":"100.0","unit_price":"9.99","discount_rate":"0.0","tax_1_name":"","tax_1_rate":null,"tax_2_name":"","tax_2_rate":null,"reference":"","subtotal":"999.00
|
205
|
+
\u20ac","discount":"0.00 \u20ac","gross_amount":"999.00 \u20ac"}],"subtotal":"999.00
|
206
|
+
\u20ac","discount":"0.00 \u20ac","taxes":[],"total":"999.00 \u20ac","payments":[{"id":328807,"date":"2014-07-01","payment_method":"cash","amount":"10,000.00
|
207
|
+
\u20ac","url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/expenses/492370/payments/328807.json"}],"notes":"","state":"paid","tag_list":[],"url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/expenses/492370.json"},{"id":492368,"number":null,"issue_date":"2014-07-01","contact":{"id":142299,"full_name":"Test_OCP
|
208
|
+
Stanman"},"po_number":"","currency":"EUR","items":[{"id":1294884,"description":"The
|
209
|
+
Cadillac of Coffins''","quantity":"1.0","unit_price":"100000.0","discount_rate":"0.0","tax_1_name":"","tax_1_rate":null,"tax_2_name":"","tax_2_rate":null,"reference":"","subtotal":"100,000.00
|
210
|
+
\u20ac","discount":"0.00 \u20ac","gross_amount":"100,000.00 \u20ac"}],"subtotal":"100,000.00
|
211
|
+
\u20ac","discount":"0.00 \u20ac","taxes":[],"total":"100,000.00 \u20ac","payments":[],"notes":"","state":"outstanding","tag_list":[],"url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/expenses/492368.json"}]'
|
223
212
|
http_version: '1.1'
|
224
|
-
recorded_at:
|
213
|
+
recorded_at: Tue, 01 Jul 2014 09:07:16 GMT
|
225
214
|
recorded_with: VCR 2.9.2
|