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/items.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:08:04 GMT
|
21
21
|
content-type:
|
22
22
|
- application/json; charset=utf-8
|
23
23
|
transfer-encoding:
|
@@ -29,34 +29,34 @@ http_interactions:
|
|
29
29
|
x-ratelimit-limit:
|
30
30
|
- '2000'
|
31
31
|
x-ratelimit-remaining:
|
32
|
-
- '
|
32
|
+
- '1928'
|
33
33
|
x-ua-compatible:
|
34
34
|
- IE=Edge,chrome=1
|
35
35
|
etag:
|
36
|
-
- ! '"
|
36
|
+
- ! '"484111898eb77f3321009a9c45671d7c"'
|
37
37
|
cache-control:
|
38
38
|
- must-revalidate, private, max-age=0
|
39
39
|
x-request-id:
|
40
|
-
-
|
40
|
+
- 20973c55031c616436cdc86a46b93e77
|
41
41
|
x-runtime:
|
42
|
-
- '0.
|
42
|
+
- '0.048222'
|
43
43
|
x-rack-cache:
|
44
44
|
- miss
|
45
45
|
body:
|
46
46
|
encoding: US-ASCII
|
47
|
-
string: ! '[{"id":
|
48
|
-
|
47
|
+
string: ! '[{"id":23943,"code":"008","name":"Pizza the Hutt","unit_cost":"0.0","stock":null,"url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/items/23943"},{"id":23942,"code":"007","name":"Techtoys
|
48
|
+
MechaGodzilla 13cm fully posable","unit_cost":"0.0","stock":null,"url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/items/23942"}]'
|
49
49
|
http_version: '1.1'
|
50
|
-
recorded_at:
|
50
|
+
recorded_at: Tue, 01 Jul 2014 09:08:04 GMT
|
51
51
|
- request:
|
52
52
|
method: get
|
53
|
-
uri: http://
|
53
|
+
uri: http://RsNaLsNr1KZcdrQRKKKk@uruk-1066.sandbox-quadernoapp.com/api/v1/items/23942.json
|
54
54
|
body:
|
55
55
|
encoding: US-ASCII
|
56
56
|
string: ''
|
57
57
|
headers:
|
58
58
|
authorization:
|
59
|
-
- Basic
|
59
|
+
- Basic UnNOYUxzTnIxS1pjZHJRUktLS2s6
|
60
60
|
response:
|
61
61
|
status:
|
62
62
|
code: 200
|
@@ -65,7 +65,7 @@ http_interactions:
|
|
65
65
|
server:
|
66
66
|
- nginx/1.4.5
|
67
67
|
date:
|
68
|
-
-
|
68
|
+
- Tue, 01 Jul 2014 09:08:04 GMT
|
69
69
|
content-type:
|
70
70
|
- application/json; charset=utf-8
|
71
71
|
transfer-encoding:
|
@@ -77,22 +77,23 @@ http_interactions:
|
|
77
77
|
x-ratelimit-limit:
|
78
78
|
- '2000'
|
79
79
|
x-ratelimit-remaining:
|
80
|
-
- '
|
80
|
+
- '1927'
|
81
81
|
last-modified:
|
82
|
-
-
|
82
|
+
- Tue, 01 Jul 2014 08:44:41 GMT
|
83
83
|
cache-control:
|
84
84
|
- must-revalidate, private, max-age=0
|
85
85
|
x-ua-compatible:
|
86
86
|
- IE=Edge,chrome=1
|
87
87
|
x-request-id:
|
88
|
-
-
|
88
|
+
- acba7f550e6217a8afb8065be96f5948
|
89
89
|
x-runtime:
|
90
|
-
- '0.
|
90
|
+
- '0.062193'
|
91
91
|
x-rack-cache:
|
92
92
|
- miss
|
93
93
|
body:
|
94
94
|
encoding: US-ASCII
|
95
|
-
string: ! '{"id":
|
95
|
+
string: ! '{"id":23942,"code":"007","name":"Techtoys MechaGodzilla 13cm fully
|
96
|
+
posable","unit_cost":"0.0","stock":null,"url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/items/23942"}'
|
96
97
|
http_version: '1.1'
|
97
|
-
recorded_at:
|
98
|
+
recorded_at: Tue, 01 Jul 2014 09:08:05 GMT
|
98
99
|
recorded_with: VCR 2.9.2
|
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: http://
|
5
|
+
uri: http://RsNaLsNr1KZcdrQRKKKk@uruk-1066.sandbox-quadernoapp.com/api/v1/webhooks.json
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: url=http%3A%2F%2Fquadernoapp.com&events_types[]=invoice.created&events_types[]=expense.updated
|
9
9
|
headers:
|
10
10
|
authorization:
|
11
|
-
- Basic
|
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
|
-
-
|
20
|
+
- Tue, 01 Jul 2014 09:08:27 GMT
|
21
21
|
content-type:
|
22
22
|
- application/json; charset=utf-8
|
23
23
|
transfer-encoding:
|
@@ -29,36 +29,36 @@ http_interactions:
|
|
29
29
|
x-ratelimit-limit:
|
30
30
|
- '2000'
|
31
31
|
x-ratelimit-remaining:
|
32
|
-
- '
|
32
|
+
- '1915'
|
33
33
|
x-ua-compatible:
|
34
34
|
- IE=Edge,chrome=1
|
35
35
|
etag:
|
36
|
-
- ! '"
|
36
|
+
- ! '"4b88bcffebbd7c3046c9b16ce59b08f6"'
|
37
37
|
cache-control:
|
38
38
|
- max-age=0, private, must-revalidate
|
39
39
|
set-cookie:
|
40
|
-
- _quaderno_session=
|
40
|
+
- _quaderno_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJTMzNWQ3YTI5MmVkNjc4YjBhNWYyZjY2MGU2ZDEyMmYyBjsAVA%3D%3D--1d98a8c1310fb79a6f4d3626811c0ece4f9a071c;
|
41
41
|
domain=sandbox-quadernoapp.com; path=/; HttpOnly
|
42
42
|
x-request-id:
|
43
|
-
-
|
43
|
+
- ae83502397d1e6a67412ff12aaa4b3bc
|
44
44
|
x-runtime:
|
45
|
-
- '0.
|
45
|
+
- '0.385142'
|
46
46
|
x-rack-cache:
|
47
47
|
- invalidate, pass
|
48
48
|
body:
|
49
49
|
encoding: US-ASCII
|
50
|
-
string: ! '{"id":
|
50
|
+
string: ! '{"id":88,"url":"http://quadernoapp.com","auth_key":"hEgs5t6arWRvLNCJMVTjfA","events_types":["invoice.created","expense.updated"],"last_sent_at":null,"last_error":null,"events_sent":0,"created_at":"2014-07-01T09:08:27Z","updated_at":"2014-07-01T09:08:27Z"}'
|
51
51
|
http_version: '1.1'
|
52
|
-
recorded_at:
|
52
|
+
recorded_at: Tue, 01 Jul 2014 09:08:27 GMT
|
53
53
|
- request:
|
54
54
|
method: get
|
55
|
-
uri: http://
|
55
|
+
uri: http://RsNaLsNr1KZcdrQRKKKk@uruk-1066.sandbox-quadernoapp.com/api/v1/webhooks.json
|
56
56
|
body:
|
57
57
|
encoding: US-ASCII
|
58
58
|
string: ''
|
59
59
|
headers:
|
60
60
|
authorization:
|
61
|
-
- Basic
|
61
|
+
- Basic UnNOYUxzTnIxS1pjZHJRUktLS2s6
|
62
62
|
response:
|
63
63
|
status:
|
64
64
|
code: 200
|
@@ -67,7 +67,7 @@ http_interactions:
|
|
67
67
|
server:
|
68
68
|
- nginx/1.4.5
|
69
69
|
date:
|
70
|
-
-
|
70
|
+
- Tue, 01 Jul 2014 09:08:28 GMT
|
71
71
|
content-type:
|
72
72
|
- application/json; charset=utf-8
|
73
73
|
transfer-encoding:
|
@@ -79,33 +79,33 @@ http_interactions:
|
|
79
79
|
x-ratelimit-limit:
|
80
80
|
- '2000'
|
81
81
|
x-ratelimit-remaining:
|
82
|
-
- '
|
82
|
+
- '1914'
|
83
83
|
x-ua-compatible:
|
84
84
|
- IE=Edge,chrome=1
|
85
85
|
etag:
|
86
|
-
- ! '"
|
86
|
+
- ! '"2785c64822a65472545183ad74bd67ed"'
|
87
87
|
cache-control:
|
88
88
|
- must-revalidate, private, max-age=0
|
89
89
|
x-request-id:
|
90
|
-
-
|
90
|
+
- 1053cc4c1db3d54a91b1d45e1859323d
|
91
91
|
x-runtime:
|
92
|
-
- '0.
|
92
|
+
- '0.076984'
|
93
93
|
x-rack-cache:
|
94
94
|
- miss
|
95
95
|
body:
|
96
96
|
encoding: US-ASCII
|
97
|
-
string: ! '[{"id":
|
97
|
+
string: ! '[{"id":88,"url":"http://quadernoapp.com","auth_key":"hEgs5t6arWRvLNCJMVTjfA","events_types":["invoice.created","expense.updated"],"last_sent_at":null,"last_error":null,"events_sent":0,"created_at":"2014-07-01T09:08:27Z","updated_at":"2014-07-01T09:08:27Z"}]'
|
98
98
|
http_version: '1.1'
|
99
|
-
recorded_at:
|
99
|
+
recorded_at: Tue, 01 Jul 2014 09:08:28 GMT
|
100
100
|
- request:
|
101
101
|
method: delete
|
102
|
-
uri: http://
|
102
|
+
uri: http://RsNaLsNr1KZcdrQRKKKk@uruk-1066.sandbox-quadernoapp.com/api/v1/webhooks/88.json
|
103
103
|
body:
|
104
104
|
encoding: US-ASCII
|
105
105
|
string: ''
|
106
106
|
headers:
|
107
107
|
authorization:
|
108
|
-
- Basic
|
108
|
+
- Basic UnNOYUxzTnIxS1pjZHJRUktLS2s6
|
109
109
|
response:
|
110
110
|
status:
|
111
111
|
code: 204
|
@@ -114,7 +114,7 @@ http_interactions:
|
|
114
114
|
server:
|
115
115
|
- nginx/1.4.5
|
116
116
|
date:
|
117
|
-
-
|
117
|
+
- Tue, 01 Jul 2014 09:08:28 GMT
|
118
118
|
connection:
|
119
119
|
- close
|
120
120
|
status:
|
@@ -122,23 +122,23 @@ http_interactions:
|
|
122
122
|
x-ratelimit-limit:
|
123
123
|
- '2000'
|
124
124
|
x-ratelimit-remaining:
|
125
|
-
- '
|
125
|
+
- '1913'
|
126
126
|
x-ua-compatible:
|
127
127
|
- IE=Edge,chrome=1
|
128
128
|
cache-control:
|
129
129
|
- no-cache
|
130
130
|
set-cookie:
|
131
|
-
- _quaderno_session=
|
131
|
+
- _quaderno_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJWFiNTExZDE1Mzc4OWRhMmMzZDdhMmRmMWFhZTU0NjAyBjsAVA%3D%3D--2d0fe7e54971040d34e575f56f43451becc09b86;
|
132
132
|
domain=sandbox-quadernoapp.com; path=/; HttpOnly
|
133
133
|
x-request-id:
|
134
|
-
-
|
134
|
+
- 8d3b945095f20a74f839f9cdc6cbde88
|
135
135
|
x-runtime:
|
136
|
-
- '0.
|
136
|
+
- '0.043856'
|
137
137
|
x-rack-cache:
|
138
138
|
- invalidate, pass
|
139
139
|
body:
|
140
140
|
encoding: US-ASCII
|
141
141
|
string: ''
|
142
142
|
http_version: '1.1'
|
143
|
-
recorded_at:
|
143
|
+
recorded_at: Tue, 01 Jul 2014 09:08:28 GMT
|
144
144
|
recorded_with: VCR 2.9.2
|
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
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: kind=company&first_name=Test_Skynet&email=my_little%40po.ny
|
9
9
|
headers:
|
10
10
|
authorization:
|
11
|
-
- Basic
|
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
|
-
-
|
20
|
+
- Tue, 01 Jul 2014 09:05:48 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
|
-
- '
|
32
|
+
- '1999'
|
33
33
|
x-ua-compatible:
|
34
34
|
- IE=Edge,chrome=1
|
35
35
|
etag:
|
36
|
-
- ! '"
|
36
|
+
- ! '"5c3a053e216a9cd1b8bc3301f9caa4e7"'
|
37
37
|
cache-control:
|
38
38
|
- max-age=0, private, must-revalidate
|
39
39
|
set-cookie:
|
40
|
-
- _quaderno_session=
|
40
|
+
- _quaderno_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJWJhMjk5OTM0OGFkZTgwNDI3ZWFiZTk3MTMxNjk4MzM3BjsAVA%3D%3D--e8c8435ced0e6770b4db1565f2115a94cdda60b7;
|
41
41
|
domain=sandbox-quadernoapp.com; path=/; HttpOnly
|
42
42
|
x-request-id:
|
43
|
-
-
|
43
|
+
- 7983944cdcd9a35df1f7c436ea2301e9
|
44
44
|
x-runtime:
|
45
|
-
- '0.
|
45
|
+
- '0.138948'
|
46
46
|
x-rack-cache:
|
47
47
|
- invalidate, pass
|
48
48
|
body:
|
49
49
|
encoding: US-ASCII
|
50
|
-
string: ! '{"id":
|
50
|
+
string: ! '{"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"}'
|
51
51
|
http_version: '1.1'
|
52
|
-
recorded_at:
|
52
|
+
recorded_at: Tue, 01 Jul 2014 09:05:48 GMT
|
53
53
|
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:06: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
|
+
- '1989'
|
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
|
+
- 4a05bdef2ba2716a87e8c7f07e306111
|
45
45
|
x-runtime:
|
46
|
-
- '0.
|
46
|
+
- '0.107812'
|
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:14 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%2042&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:15 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
|
+
- '1988'
|
103
89
|
x-ua-compatible:
|
104
90
|
- IE=Edge,chrome=1
|
105
91
|
etag:
|
106
|
-
- ! '"
|
92
|
+
- ! '"3d8bd322125a0845c601bf8bd57f7c15"'
|
107
93
|
cache-control:
|
108
94
|
- max-age=0, private, must-revalidate
|
109
95
|
set-cookie:
|
110
|
-
- _quaderno_session=
|
96
|
+
- _quaderno_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJWM0MDA0MWQxYzkyMjU4NWVhZDY2ZTBkODUzZDViMzNjBjsAVA%3D%3D--78370fa75eb49a81ac9fcd4c2adf6e4e1e08a0a0;
|
111
97
|
domain=sandbox-quadernoapp.com; path=/; HttpOnly
|
112
98
|
x-request-id:
|
113
|
-
-
|
99
|
+
- 675b80b86ceb85b2d05522d8e9c862f9
|
114
100
|
x-runtime:
|
115
|
-
- '0.
|
101
|
+
- '0.208133'
|
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":694,"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":492373,"number":"test number 42","issue_date":"2014-07-01","contact":{"id":142297,"full_name":"Dummy"},"po_number":null,"currency":"EUR","items":[{"id":1294892,"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":"d1faeebc4b6641090182e1e1ae156cb655bf1cda","permalink":"http://uruk-1066.sandbox-quadernoapp.com/estimate/d1faeebc4b6641090182e1e1ae156cb655bf1cda","url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/estimates/492373.json"}'
|
124
109
|
http_version: '1.1'
|
125
|
-
recorded_at:
|
110
|
+
recorded_at: Tue, 01 Jul 2014 09:06:15 GMT
|
126
111
|
- request:
|
127
112
|
method: delete
|
128
|
-
uri: http://
|
113
|
+
uri: http://RsNaLsNr1KZcdrQRKKKk@uruk-1066.sandbox-quadernoapp.com/api/v1/estimates/492373.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:15 GMT
|
144
129
|
connection:
|
145
130
|
- close
|
146
131
|
status:
|
@@ -148,23 +133,23 @@ http_interactions:
|
|
148
133
|
x-ratelimit-limit:
|
149
134
|
- '2000'
|
150
135
|
x-ratelimit-remaining:
|
151
|
-
- '
|
136
|
+
- '1987'
|
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=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJTUyNzQyMDdjZmM3ODkwMGU4OTE5MDJkMmRiMjU0MzExBjsAVA%3D%3D--2caeae0d134292140610f719cfed888ad99901ce;
|
158
143
|
domain=sandbox-quadernoapp.com; path=/; HttpOnly
|
159
144
|
x-request-id:
|
160
|
-
-
|
145
|
+
- e7fe93f44e27e05f183889554cb33b8d
|
161
146
|
x-runtime:
|
162
|
-
- '0.
|
147
|
+
- '0.156480'
|
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:15 GMT
|
170
155
|
recorded_with: VCR 2.9.2
|