quaderno 1.3.1 → 1.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +8 -8
  2. data/README.md +7 -7
  3. data/VERSION +1 -1
  4. data/build_install.sh +1 -1
  5. data/changelog.md +4 -0
  6. data/lib/quaderno-ruby/base.rb +21 -17
  7. data/lib/quaderno-ruby/behavior/crud.rb +5 -5
  8. data/lib/quaderno-ruby/behavior/deliver.rb +1 -1
  9. data/lib/quaderno-ruby/behavior/payment.rb +2 -2
  10. data/quaderno.gemspec +3 -3
  11. data/test/fixtures/.DS_Store +0 -0
  12. data/test/fixtures/quaderno_cassettes/all_contacts.yml +15 -27
  13. data/test/fixtures/quaderno_cassettes/all_estimates.yml +19 -12
  14. data/test/fixtures/quaderno_cassettes/all_expenses.yml +17 -13
  15. data/test/fixtures/quaderno_cassettes/all_invoices.yml +18 -91
  16. data/test/fixtures/quaderno_cassettes/all_items.yml +10 -10
  17. data/test/fixtures/quaderno_cassettes/all_webhooks.yml +45 -45
  18. data/test/fixtures/quaderno_cassettes/deleted_contact.yml +49 -72
  19. data/test/fixtures/quaderno_cassettes/deleted_estimate.yml +54 -62
  20. data/test/fixtures/quaderno_cassettes/deleted_expense.yml +52 -63
  21. data/test/fixtures/quaderno_cassettes/deleted_invoice.yml +53 -140
  22. data/test/fixtures/quaderno_cassettes/deleted_item.yml +28 -28
  23. data/test/fixtures/quaderno_cassettes/deleted_webhook.yml +54 -54
  24. data/test/fixtures/quaderno_cassettes/delivered_estimate.yml +33 -26
  25. data/test/fixtures/quaderno_cassettes/delivered_invoice.yml +38 -113
  26. data/test/fixtures/quaderno_cassettes/found_contact.yml +26 -36
  27. data/test/fixtures/quaderno_cassettes/found_estimate.yml +34 -24
  28. data/test/fixtures/quaderno_cassettes/found_expense.yml +30 -26
  29. data/test/fixtures/quaderno_cassettes/found_invoice.yml +31 -110
  30. data/test/fixtures/quaderno_cassettes/found_item.yml +20 -19
  31. data/test/fixtures/quaderno_cassettes/found_webhook.yml +27 -27
  32. data/test/fixtures/quaderno_cassettes/new_contact.yml +10 -10
  33. data/test/fixtures/quaderno_cassettes/new_estimate.yml +35 -50
  34. data/test/fixtures/quaderno_cassettes/new_expense.yml +52 -63
  35. data/test/fixtures/quaderno_cassettes/new_invoice.yml +35 -49
  36. data/test/fixtures/quaderno_cassettes/new_item.yml +10 -10
  37. data/test/fixtures/quaderno_cassettes/new_webhook.yml +18 -18
  38. data/test/fixtures/quaderno_cassettes/paid_expense.yml +27 -23
  39. data/test/fixtures/quaderno_cassettes/paid_invoice.yml +28 -101
  40. data/test/fixtures/quaderno_cassettes/rate_limit.yml +7 -7
  41. data/test/fixtures/quaderno_cassettes/unpay_an_expense.yml +36 -32
  42. data/test/fixtures/quaderno_cassettes/unpay_an_invoice.yml +37 -110
  43. data/test/fixtures/quaderno_cassettes/updated_contact.yml +27 -37
  44. data/test/fixtures/quaderno_cassettes/updated_estimate.yml +46 -62
  45. data/test/fixtures/quaderno_cassettes/updated_expense.yml +45 -61
  46. data/test/fixtures/quaderno_cassettes/updated_invoice.yml +46 -61
  47. data/test/fixtures/quaderno_cassettes/updated_item.yml +20 -20
  48. data/test/fixtures/quaderno_cassettes/updated_webhook.yml +37 -37
  49. data/test/unit/test_quaderno_contacts.rb +2 -2
  50. data/test/unit/test_quaderno_estimates.rb +2 -2
  51. data/test/unit/test_quaderno_expenses.rb +2 -2
  52. data/test/unit/test_quaderno_invoices.rb +2 -2
  53. data/test/unit/test_quaderno_items.rb +2 -2
  54. data/test/unit/test_quaderno_webhooks.rb +2 -2
  55. metadata +2 -2
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://kAppsMggGcw8psUwdZBV@sandbox-quadernoapp.com/ninive-688/api/v1/expenses.json
5
+ uri: http://RsNaLsNr1KZcdrQRKKKk@uruk-1066.sandbox-quadernoapp.com/api/v1/expenses.json
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
10
  authorization:
11
- - Basic a0FwcHNNZ2dHY3c4cHNVd2RaQlY6
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
- - Fri, 13 Jun 2014 12:41:42 GMT
20
+ - Tue, 01 Jul 2014 09:07:11 GMT
21
21
  content-type:
22
22
  - application/json; charset=utf-8
23
23
  transfer-encoding:
@@ -29,7 +29,7 @@ http_interactions:
29
29
  x-ratelimit-limit:
30
30
  - '2000'
31
31
  x-ratelimit-remaining:
32
- - '1449'
32
+ - '1971'
33
33
  x-pages-currentpage:
34
34
  - '1'
35
35
  x-pages-totalpages:
@@ -37,33 +37,37 @@ http_interactions:
37
37
  x-ua-compatible:
38
38
  - IE=Edge,chrome=1
39
39
  etag:
40
- - ! '"f8c16df3cad07eca53aa3d6a08d8657b"'
40
+ - ! '"3e3f97d65226a933e567d56c0eec4407"'
41
41
  cache-control:
42
42
  - must-revalidate, private, max-age=0
43
43
  x-request-id:
44
- - 5d64e61f4edb0a17c58177f212aafecc
44
+ - 41c8b51c2bbf043a6044b2c7dc32a924
45
45
  x-runtime:
46
- - '0.169196'
46
+ - '0.173113'
47
47
  x-rack-cache:
48
48
  - miss
49
49
  body:
50
50
  encoding: US-ASCII
51
- string: ! '[{"id":543,"number":null,"issue_date":"2014-06-13","contact":{"id":790,"full_name":"Test
52
- Contact"},"po_number":"","currency":"EUR","items":[{"id":697,"description":"Hello","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
53
- \u20ac","discount":"0.00 \u20ac","gross_amount":"30.00 \u20ac"}],"subtotal":"30.00
54
- \u20ac","discount":"0.00 \u20ac","taxes":[],"total":"30.00 \u20ac","payments":[{"id":373,"date":"2014-06-13","payment_method":"cash","amount":"10,000.00
55
- \u20ac","url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/expenses/543/payments/373.json"}],"notes":"","state":"paid","tag_list":[],"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/expenses/543.json"}]'
51
+ string: ! '[{"id":492370,"number":null,"issue_date":"2014-07-01","contact":{"id":142301,"full_name":"Vince
52
+ 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
53
+ \u20ac","discount":"0.00 \u20ac","gross_amount":"999.00 \u20ac"}],"subtotal":"999.00
54
+ \u20ac","discount":"0.00 \u20ac","taxes":[],"total":"999.00 \u20ac","payments":[{"id":328807,"date":"2014-07-01","payment_method":"cash","amount":"10,000.00
55
+ \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
56
+ Stanman"},"po_number":"","currency":"EUR","items":[{"id":1294884,"description":"The
57
+ 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
58
+ \u20ac","discount":"0.00 \u20ac","gross_amount":"100,000.00 \u20ac"}],"subtotal":"100,000.00
59
+ \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"}]'
56
60
  http_version: '1.1'
57
- recorded_at: Fri, 13 Jun 2014 12:41:42 GMT
61
+ recorded_at: Tue, 01 Jul 2014 09:07:11 GMT
58
62
  - request:
59
63
  method: get
60
- uri: http://kAppsMggGcw8psUwdZBV@sandbox-quadernoapp.com/ninive-688/api/v1/contacts.json
64
+ uri: http://RsNaLsNr1KZcdrQRKKKk@uruk-1066.sandbox-quadernoapp.com/api/v1/contacts.json
61
65
  body:
62
66
  encoding: US-ASCII
63
67
  string: ''
64
68
  headers:
65
69
  authorization:
66
- - Basic a0FwcHNNZ2dHY3c4cHNVd2RaQlY6
70
+ - Basic UnNOYUxzTnIxS1pjZHJRUktLS2s6
67
71
  response:
68
72
  status:
69
73
  code: 200
@@ -72,7 +76,7 @@ http_interactions:
72
76
  server:
73
77
  - nginx/1.4.5
74
78
  date:
75
- - Fri, 13 Jun 2014 12:41:43 GMT
79
+ - Tue, 01 Jul 2014 09:07:12 GMT
76
80
  content-type:
77
81
  - application/json; charset=utf-8
78
82
  transfer-encoding:
@@ -84,56 +88,42 @@ http_interactions:
84
88
  x-ratelimit-limit:
85
89
  - '2000'
86
90
  x-ratelimit-remaining:
87
- - '1448'
91
+ - '1970'
88
92
  x-pages-currentpage:
89
93
  - '1'
90
94
  x-pages-totalpages:
91
- - '6'
95
+ - '1'
92
96
  x-ua-compatible:
93
97
  - IE=Edge,chrome=1
94
98
  etag:
95
- - ! '"1b15811e4cf410f02945920334685406"'
99
+ - ! '"bcad972a420d51a47d312c5b43926c87"'
96
100
  cache-control:
97
101
  - must-revalidate, private, max-age=0
98
102
  x-request-id:
99
- - 7ddd21cf075bb50d3bad34f70a69956a
103
+ - 372406cfbd55a7c7dc7a7b71f8356dcb
100
104
  x-runtime:
101
- - '0.227711'
105
+ - '0.113235'
102
106
  x-rack-cache:
103
107
  - miss
104
108
  body:
105
109
  encoding: US-ASCII
106
- string: ! '[{"id":760,"kind":"company","full_name":"\u0003 esatipa","contact_name":null,"street_line_1":"Torres
107
- Quevedo","street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":"673832948","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/760"},{"id":113,"kind":"company","full_name":"100-499","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":"totoro.estepario@gmail.com","web":null,"discount":null,"tax_id":"","bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/113"},{"id":498,"kind":"company","full_name":"Alejandro","contact_name":"","street_line_1":"","street_line_2":"","postal_code":"","city":"","region":"","country":"ES","phone_1":"","phone_2":"","fax":"","email":"alexmanalopez@gmail.com","web":"","discount":null,"tax_id":"","bank_account":"","language":"ES","notes":"","url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/498"},{"id":744,"kind":"company","full_name":"Alejandro
108
- Lopez Santos","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":"alexmanalopez@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/744"},{"id":739,"kind":"company","full_name":"ANA","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":"ana@vali2.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/739"},{"id":773,"kind":"company","full_name":"Angel
109
- Ramos de Miguel","contact_name":null,"street_line_1":";;;Las Palmas de Gran
110
- 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/773"},{"id":717,"kind":"company","full_name":"Angel
111
- Ramos de Miguel","contact_name":null,"street_line_1":";;;Las Palmas de Gran
112
- 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
113
- 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
114
- 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
115
- 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
116
- 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
117
- 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
118
- 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
119
- 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
120
- 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
121
- 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
122
- 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
123
- 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
124
- Debit","street_line_1":"Bernardo de la Torre 104","street_line_2":"","postal_code":"35007","city":"Las
125
- 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"}]'
110
+ 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
111
+ 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
112
+ 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
113
+ Stanman","street_line_1":"","street_line_2":null,"postal_code":"","city":"","region":"Monkey
114
+ 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
115
+ 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"}]'
126
116
  http_version: '1.1'
127
- recorded_at: Fri, 13 Jun 2014 12:41:43 GMT
117
+ recorded_at: Tue, 01 Jul 2014 09:07:12 GMT
128
118
  - request:
129
119
  method: post
130
- uri: http://kAppsMggGcw8psUwdZBV@sandbox-quadernoapp.com/ninive-688/api/v1/expenses.json
120
+ uri: http://RsNaLsNr1KZcdrQRKKKk@uruk-1066.sandbox-quadernoapp.com/api/v1/expenses.json
131
121
  body:
132
122
  encoding: US-ASCII
133
- string: contact_id=760&contact_name=%03%20esatipa&currency=EUR&items_attributes[][description]=Aircraft&items_attributes[][quantity]=1.0&items_attributes[][unit_price]=0.0&tags=tnt&payment_details=&notes=
123
+ string: contact_id=142297&contact_name=Dummy&currency=EUR&items_attributes[][description]=Aircraft&items_attributes[][quantity]=1.0&items_attributes[][unit_price]=0.0&tags=tnt&payment_details=&notes=
134
124
  headers:
135
125
  authorization:
136
- - Basic a0FwcHNNZ2dHY3c4cHNVd2RaQlY6
126
+ - Basic UnNOYUxzTnIxS1pjZHJRUktLS2s6
137
127
  response:
138
128
  status:
139
129
  code: 201
@@ -142,7 +132,7 @@ http_interactions:
142
132
  server:
143
133
  - nginx/1.4.5
144
134
  date:
145
- - Fri, 13 Jun 2014 12:41:44 GMT
135
+ - Tue, 01 Jul 2014 09:07:12 GMT
146
136
  content-type:
147
137
  - application/json; charset=utf-8
148
138
  transfer-encoding:
@@ -154,39 +144,38 @@ http_interactions:
154
144
  x-ratelimit-limit:
155
145
  - '2000'
156
146
  x-ratelimit-remaining:
157
- - '1447'
147
+ - '1969'
158
148
  x-ua-compatible:
159
149
  - IE=Edge,chrome=1
160
150
  etag:
161
- - ! '"59772d19dde52fe44c2c5b7eea5df6fe"'
151
+ - ! '"8ad9af5b5ccffc638a3852cef900d443"'
162
152
  cache-control:
163
153
  - max-age=0, private, must-revalidate
164
154
  set-cookie:
165
- - _quaderno_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJTZjMzFmNGQwMDQ5ZjM2YzE1NTE3MTAyNDE5MzgwODNjBjsAVA%3D%3D--0922b189b16a8ff5d38ebab052a79e3b4c5637b9;
155
+ - _quaderno_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJWIyYjEzYWU4NWRhNmZmYjA0N2IxZDVhZjdhZGI2ZTE1BjsAVA%3D%3D--d67852a0e20c80117e2854812c011e00ae56a2c6;
166
156
  domain=sandbox-quadernoapp.com; path=/; HttpOnly
167
157
  x-request-id:
168
- - a9154b6fef97727033198d7af12c4710
158
+ - 7525a409efe66c873c6d0d0ed73b2e0d
169
159
  x-runtime:
170
- - '0.278641'
160
+ - '0.192404'
171
161
  x-rack-cache:
172
162
  - invalidate, pass
173
163
  body:
174
164
  encoding: US-ASCII
175
- string: ! '{"id":544,"number":null,"issue_date":"2014-06-13","contact":{"id":760,"full_name":"\u0003
176
- esatipa"},"po_number":null,"currency":"EUR","items":[{"id":698,"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
165
+ string: ! '{"id":492376,"number":null,"issue_date":"2014-07-01","contact":{"id":142297,"full_name":"Dummy"},"po_number":null,"currency":"EUR","items":[{"id":1294895,"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
177
166
  \u20ac","discount":"0.00 \u20ac","gross_amount":"0.00 \u20ac"}],"subtotal":"0.00
178
- \u20ac","discount":"0.00 \u20ac","taxes":[],"total":"0.00 \u20ac","payments":[],"notes":"","state":"outstanding","tag_list":[],"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/expenses/544.json"}'
167
+ \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/492376.json"}'
179
168
  http_version: '1.1'
180
- recorded_at: Fri, 13 Jun 2014 12:41:44 GMT
169
+ recorded_at: Tue, 01 Jul 2014 09:07:12 GMT
181
170
  - request:
182
171
  method: delete
183
- uri: http://kAppsMggGcw8psUwdZBV@sandbox-quadernoapp.com/ninive-688/api/v1/expenses/544.json
172
+ uri: http://RsNaLsNr1KZcdrQRKKKk@uruk-1066.sandbox-quadernoapp.com/api/v1/expenses/492376.json
184
173
  body:
185
174
  encoding: US-ASCII
186
175
  string: ''
187
176
  headers:
188
177
  authorization:
189
- - Basic a0FwcHNNZ2dHY3c4cHNVd2RaQlY6
178
+ - Basic UnNOYUxzTnIxS1pjZHJRUktLS2s6
190
179
  response:
191
180
  status:
192
181
  code: 204
@@ -195,7 +184,7 @@ http_interactions:
195
184
  server:
196
185
  - nginx/1.4.5
197
186
  date:
198
- - Fri, 13 Jun 2014 12:41:45 GMT
187
+ - Tue, 01 Jul 2014 09:07:13 GMT
199
188
  connection:
200
189
  - close
201
190
  status:
@@ -203,23 +192,23 @@ http_interactions:
203
192
  x-ratelimit-limit:
204
193
  - '2000'
205
194
  x-ratelimit-remaining:
206
- - '1446'
195
+ - '1968'
207
196
  x-ua-compatible:
208
197
  - IE=Edge,chrome=1
209
198
  cache-control:
210
199
  - no-cache
211
200
  set-cookie:
212
- - _quaderno_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJWI1OGU5NDExMDQ5YzFjNDA1MzUzNTk0NzYwYzUwNDgxBjsAVA%3D%3D--bb326f72ce70533f052d101b32f9a5f0d7ad1c2f;
201
+ - _quaderno_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJWFmMmU2MTAyNmE4MjFiMzQ0MjNiZmFiMzk4ZmE3NjY3BjsAVA%3D%3D--4de9fcacaef2766c38ead15635ec46bf7529627f;
213
202
  domain=sandbox-quadernoapp.com; path=/; HttpOnly
214
203
  x-request-id:
215
- - 5988e1700f603a8bd4587f37f5ebab78
204
+ - ebbf3d8b1f8eddf9df3ae6ddec95f2a2
216
205
  x-runtime:
217
- - '0.215159'
206
+ - '0.148355'
218
207
  x-rack-cache:
219
208
  - invalidate, pass
220
209
  body:
221
210
  encoding: US-ASCII
222
211
  string: ''
223
212
  http_version: '1.1'
224
- recorded_at: Fri, 13 Jun 2014 12:41:45 GMT
213
+ recorded_at: Tue, 01 Jul 2014 09:07:13 GMT
225
214
  recorded_with: VCR 2.9.2
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://kAppsMggGcw8psUwdZBV@sandbox-quadernoapp.com/ninive-688/api/v1/contacts.json
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 a0FwcHNNZ2dHY3c4cHNVd2RaQlY6
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
- - Fri, 13 Jun 2014 12:29:26 GMT
20
+ - Tue, 01 Jul 2014 09:07:36 GMT
21
21
  content-type:
22
22
  - application/json; charset=utf-8
23
23
  transfer-encoding:
@@ -29,55 +29,42 @@ http_interactions:
29
29
  x-ratelimit-limit:
30
30
  - '2000'
31
31
  x-ratelimit-remaining:
32
- - '1552'
32
+ - '1951'
33
33
  x-pages-currentpage:
34
34
  - '1'
35
35
  x-pages-totalpages:
36
- - '5'
36
+ - '1'
37
37
  x-ua-compatible:
38
38
  - IE=Edge,chrome=1
39
39
  etag:
40
- - ! '"c8dc64244b78ebaeae0681e06d44ee7b"'
40
+ - ! '"bcad972a420d51a47d312c5b43926c87"'
41
41
  cache-control:
42
42
  - must-revalidate, private, max-age=0
43
43
  x-request-id:
44
- - 0d783327b4a9336b11342c16c8412a50
44
+ - 420b1ce6e185786f514a4a6d570e6c2f
45
45
  x-runtime:
46
- - '0.146907'
46
+ - '0.103040'
47
47
  x-rack-cache:
48
48
  - miss
49
49
  body:
50
50
  encoding: US-ASCII
51
- string: ! '[{"id":760,"kind":"company","full_name":"\u0003 esatipa","contact_name":null,"street_line_1":"Torres
52
- Quevedo","street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":"673832948","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/760"},{"id":113,"kind":"company","full_name":"100-499","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":"totoro.estepario@gmail.com","web":null,"discount":null,"tax_id":"","bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/113"},{"id":725,"kind":"company","full_name":"Aitor
53
- Hernandez Pe\u00f1a","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":"aithor123@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/725"},{"id":742,"kind":"company","full_name":"Akira
54
- Comics S.L.","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":"akira@akiracomics.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/742"},{"id":694,"kind":"company","full_name":"Ale","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":"+34650960183","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/694"},{"id":498,"kind":"company","full_name":"Alejandro","contact_name":"","street_line_1":"","street_line_2":"","postal_code":"","city":"","region":"","country":"ES","phone_1":"","phone_2":"","fax":"","email":"alexmanalopez@gmail.com","web":"","discount":null,"tax_id":"","bank_account":"","language":"ES","notes":"","url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/498"},{"id":744,"kind":"company","full_name":"Alejandro
55
- Lopez Santos","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":"alexmanalopez@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/744"},{"id":739,"kind":"company","full_name":"ANA","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":"ana@vali2.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/739"},{"id":773,"kind":"company","full_name":"Angel
56
- Ramos de Miguel","contact_name":null,"street_line_1":";;;Las Palmas de Gran
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/773"},{"id":717,"kind":"company","full_name":"Angel
58
- Ramos de Miguel","contact_name":null,"street_line_1":";;;Las Palmas de Gran
59
- 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
60
- 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
61
- 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
62
- 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
63
- 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
64
- 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
65
- 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
66
- 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
67
- 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
68
- 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":674,"kind":"company","full_name":"Dav
69
- Mel God","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":"arthas_guay@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/674"}]'
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"}]'
70
57
  http_version: '1.1'
71
- recorded_at: Fri, 13 Jun 2014 12:29:26 GMT
58
+ recorded_at: Tue, 01 Jul 2014 09:07:36 GMT
72
59
  - request:
73
60
  method: post
74
- uri: http://kAppsMggGcw8psUwdZBV@sandbox-quadernoapp.com/ninive-688/api/v1/invoices.json
61
+ uri: http://RsNaLsNr1KZcdrQRKKKk@uruk-1066.sandbox-quadernoapp.com/api/v1/invoices.json
75
62
  body:
76
63
  encoding: US-ASCII
77
- string: contact_id=760&contact_name=%03%20esatipa&currency=EUR&items_attributes[][description]=Aircraft&items_attributes[][quantity]=1.0&items_attributes[][unit_price]=0.0&tags=tnt&payment_details=&notes=
64
+ string: contact_id=142297&contact_name=Dummy&currency=EUR&items_attributes[][description]=Aircraft&items_attributes[][quantity]=1.0&items_attributes[][unit_price]=0.0&tags=tnt&payment_details=&notes=
78
65
  headers:
79
66
  authorization:
80
- - Basic a0FwcHNNZ2dHY3c4cHNVd2RaQlY6
67
+ - Basic UnNOYUxzTnIxS1pjZHJRUktLS2s6
81
68
  response:
82
69
  status:
83
70
  code: 201
@@ -86,7 +73,7 @@ http_interactions:
86
73
  server:
87
74
  - nginx/1.4.5
88
75
  date:
89
- - Fri, 13 Jun 2014 12:29:27 GMT
76
+ - Tue, 01 Jul 2014 09:07:37 GMT
90
77
  content-type:
91
78
  - application/json; charset=utf-8
92
79
  transfer-encoding:
@@ -98,39 +85,38 @@ http_interactions:
98
85
  x-ratelimit-limit:
99
86
  - '2000'
100
87
  x-ratelimit-remaining:
101
- - '1551'
88
+ - '1950'
102
89
  x-ua-compatible:
103
90
  - IE=Edge,chrome=1
104
91
  etag:
105
- - ! '"d4331c07b59009737810e1fa1389c968"'
92
+ - ! '"3839b1b1dcd6c7a51a387374c4963e37"'
106
93
  cache-control:
107
94
  - max-age=0, private, must-revalidate
108
95
  set-cookie:
109
- - _quaderno_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJTg5NzJiZmNiM2ViNjM0YmQ0MThiNGE3YTg1NTM0ZGY3BjsAVA%3D%3D--d1bb27f2206af640c9fc683f395cc61d937c8d8f;
96
+ - _quaderno_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJTAxODI1YjIwMDUyNjI2ZjI0YTIxMGUxNTVjYzljNDhhBjsAVA%3D%3D--330eebb5d0648cf9b6f5f8905e938df8153e9607;
110
97
  domain=sandbox-quadernoapp.com; path=/; HttpOnly
111
98
  x-request-id:
112
- - 4e90b2d029f13b545d59c8517c6695e6
99
+ - 4856d9bc88b243ea3b373ab5a8626198
113
100
  x-runtime:
114
- - '0.292190'
101
+ - '0.165287'
115
102
  x-rack-cache:
116
103
  - invalidate, pass
117
104
  body:
118
105
  encoding: US-ASCII
119
- string: ! '{"id":533,"number":"xxxx-2","issue_date":"2014-06-13","contact":{"id":760,"full_name":"\u0003
120
- esatipa"},"po_number":null,"due_date":null,"currency":"EUR","items":[{"id":687,"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":492379,"number":"0000004","issue_date":"2014-07-01","contact":{"id":142297,"full_name":"Dummy"},"po_number":null,"due_date":null,"currency":"EUR","items":[{"id":1294898,"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
121
107
  \u20ac","discount":"0.00 \u20ac","gross_amount":"0.00 \u20ac"}],"subtotal":"0.00
122
- \u20ac","discount":"0.00 \u20ac","taxes":[],"total":"0.00 \u20ac","payments":[],"payment_details":"","notes":"","state":"draft","tag_list":[],"secure_id":"7efbff31b83901384c9be4cb75675389c669b4b6","permalink":"http://ninive-688.sandbox-quadernoapp.com/invoice/7efbff31b83901384c9be4cb75675389c669b4b6","url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/invoices/533.json"}'
108
+ \u20ac","discount":"0.00 \u20ac","taxes":[],"total":"0.00 \u20ac","payments":[],"payment_details":"","notes":"","state":"draft","tag_list":[],"secure_id":"15307b45e8eb57c94c9e77bc61bc0b5fafba77a5","permalink":"http://uruk-1066.sandbox-quadernoapp.com/invoice/15307b45e8eb57c94c9e77bc61bc0b5fafba77a5","url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/invoices/492379.json"}'
123
109
  http_version: '1.1'
124
- recorded_at: Fri, 13 Jun 2014 12:29:27 GMT
110
+ recorded_at: Tue, 01 Jul 2014 09:07:38 GMT
125
111
  - request:
126
112
  method: delete
127
- uri: http://kAppsMggGcw8psUwdZBV@sandbox-quadernoapp.com/ninive-688/api/v1/invoices/533.json
113
+ uri: http://RsNaLsNr1KZcdrQRKKKk@uruk-1066.sandbox-quadernoapp.com/api/v1/invoices/492379.json
128
114
  body:
129
115
  encoding: US-ASCII
130
116
  string: ''
131
117
  headers:
132
118
  authorization:
133
- - Basic a0FwcHNNZ2dHY3c4cHNVd2RaQlY6
119
+ - Basic UnNOYUxzTnIxS1pjZHJRUktLS2s6
134
120
  response:
135
121
  status:
136
122
  code: 204
@@ -139,7 +125,7 @@ http_interactions:
139
125
  server:
140
126
  - nginx/1.4.5
141
127
  date:
142
- - Fri, 13 Jun 2014 12:29:28 GMT
128
+ - Tue, 01 Jul 2014 09:07:38 GMT
143
129
  connection:
144
130
  - close
145
131
  status:
@@ -147,23 +133,23 @@ http_interactions:
147
133
  x-ratelimit-limit:
148
134
  - '2000'
149
135
  x-ratelimit-remaining:
150
- - '1550'
136
+ - '1949'
151
137
  x-ua-compatible:
152
138
  - IE=Edge,chrome=1
153
139
  cache-control:
154
140
  - no-cache
155
141
  set-cookie:
156
- - _quaderno_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJTg5ZjM3MzBiNzMzOWY1OWU2YzYxZWRiZDZhODNmZWU1BjsAVA%3D%3D--18b6fd2f7c6f7acb6c6ce7184f09f632eeef290a;
142
+ - _quaderno_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJWJkNjI2YmIxNmE3MDgyM2IwYzhmMGUzNjYzNDQwYWMxBjsAVA%3D%3D--da90748417eed6267de3231be614ecf73cbe750c;
157
143
  domain=sandbox-quadernoapp.com; path=/; HttpOnly
158
144
  x-request-id:
159
- - ecbc34c1665c925963e597ad0d6b9689
145
+ - c91522e49a22eb817e15c085ee454d54
160
146
  x-runtime:
161
- - '0.092298'
147
+ - '0.213666'
162
148
  x-rack-cache:
163
149
  - invalidate, pass
164
150
  body:
165
151
  encoding: US-ASCII
166
152
  string: ''
167
153
  http_version: '1.1'
168
- recorded_at: Fri, 13 Jun 2014 12:29:28 GMT
154
+ recorded_at: Tue, 01 Jul 2014 09:07:38 GMT
169
155
  recorded_with: VCR 2.9.2
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://kAppsMggGcw8psUwdZBV@sandbox-quadernoapp.com/ninive-688/api/v1/items.json
5
+ uri: http://RsNaLsNr1KZcdrQRKKKk@uruk-1066.sandbox-quadernoapp.com/api/v1/items.json
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: code=000000&name=Test_Skynet&unit_cost=21.0
9
9
  headers:
10
10
  authorization:
11
- - Basic a0FwcHNNZ2dHY3c4cHNVd2RaQlY6
11
+ - Basic UnNOYUxzTnIxS1pjZHJRUktLS2s6
12
12
  response:
13
13
  status:
14
14
  code: 201
@@ -17,7 +17,7 @@ http_interactions:
17
17
  server:
18
18
  - nginx/1.4.5
19
19
  date:
20
- - Fri, 13 Jun 2014 12:46:11 GMT
20
+ - Tue, 01 Jul 2014 09:08:02 GMT
21
21
  content-type:
22
22
  - application/json; charset=utf-8
23
23
  transfer-encoding:
@@ -29,25 +29,25 @@ http_interactions:
29
29
  x-ratelimit-limit:
30
30
  - '2000'
31
31
  x-ratelimit-remaining:
32
- - '1403'
32
+ - '1932'
33
33
  x-ua-compatible:
34
34
  - IE=Edge,chrome=1
35
35
  etag:
36
- - ! '"bb4c8d72ed38b31290ff17f688164866"'
36
+ - ! '"e0a1dfbe8dd0b3be5d9fcdaa22441e78"'
37
37
  cache-control:
38
38
  - max-age=0, private, must-revalidate
39
39
  set-cookie:
40
- - _quaderno_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJTk1MDJkZjVlZjFiMzIxMGMzOTk3Y2IyMTlkOTY4YjdhBjsAVA%3D%3D--75f330020ceb24768015eed8daffd66da3440448;
40
+ - _quaderno_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJTE2NmEyODMzMTE1NjliMGE2NmUyOTg2NzY2NDRlOTkyBjsAVA%3D%3D--d86b46e33cdfe6f1ff23b5f1a78e77cd3e515773;
41
41
  domain=sandbox-quadernoapp.com; path=/; HttpOnly
42
42
  x-request-id:
43
- - 4eaed6bab5b0aa07dfaacd9d904e306d
43
+ - 4586d674c455e8fe1940a0a09fb39bf1
44
44
  x-runtime:
45
- - '0.132707'
45
+ - '0.071937'
46
46
  x-rack-cache:
47
47
  - invalidate, pass
48
48
  body:
49
49
  encoding: US-ASCII
50
- string: ! '{"id":53,"code":"000000","name":"Test_Skynet","unit_cost":"21.0","stock":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/items/53"}'
50
+ string: ! '{"id":23944,"code":"000000","name":"Test_Skynet","unit_cost":"21.0","stock":null,"url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/items/23944"}'
51
51
  http_version: '1.1'
52
- recorded_at: Fri, 13 Jun 2014 12:46:11 GMT
52
+ recorded_at: Tue, 01 Jul 2014 09:08:02 GMT
53
53
  recorded_with: VCR 2.9.2