rev-api 2.2.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +22 -21
  3. data/.ruby-gemset +1 -1
  4. data/.ruby-version +1 -1
  5. data/.travis.yml +8 -8
  6. data/Gemfile +3 -3
  7. data/LICENSE +191 -191
  8. data/README.md +131 -132
  9. data/Rakefile +13 -13
  10. data/examples/cli.rb +270 -270
  11. data/lib/rev-api.rb +26 -26
  12. data/lib/rev-api/api.rb +326 -326
  13. data/lib/rev-api/api_serializable.rb +30 -30
  14. data/lib/rev-api/exceptions.rb +97 -100
  15. data/lib/rev-api/http_client.rb +97 -97
  16. data/lib/rev-api/models/order.rb +129 -138
  17. data/lib/rev-api/models/order_request.rb +273 -222
  18. data/lib/rev-api/version.rb +3 -3
  19. data/rev-api.gemspec +33 -34
  20. data/spec/fixtures/api_cassettes/cancel_order.yml +38 -38
  21. data/spec/fixtures/api_cassettes/cancel_order_not_allowed.yml +40 -40
  22. data/spec/fixtures/api_cassettes/get_attachment_content.yml +399 -399
  23. data/spec/fixtures/api_cassettes/get_attachment_content_as_pdf.yml +399 -399
  24. data/spec/fixtures/api_cassettes/get_attachment_content_as_text.yml +65 -65
  25. data/spec/fixtures/api_cassettes/get_attachment_content_as_youtube_transcript.yml +66 -66
  26. data/spec/fixtures/api_cassettes/get_attachment_content_unacceptable_representation.yml +42 -42
  27. data/spec/fixtures/api_cassettes/get_attachment_content_with_invalid_id.yml +42 -42
  28. data/spec/fixtures/api_cassettes/get_attachment_metadata.yml +42 -42
  29. data/spec/fixtures/api_cassettes/get_attachment_with_invalid_id.yml +40 -40
  30. data/spec/fixtures/api_cassettes/get_orders.yml +122 -122
  31. data/spec/fixtures/api_cassettes/get_orders_with_clientRef.yml +41 -41
  32. data/spec/fixtures/api_cassettes/get_tc_order.yml +44 -44
  33. data/spec/fixtures/api_cassettes/get_third_page_of_orders.yml +52 -58
  34. data/spec/fixtures/api_cassettes/link_input.yml +44 -44
  35. data/spec/fixtures/api_cassettes/link_input_with_all_attributes.yml +44 -44
  36. data/spec/fixtures/api_cassettes/link_input_with_spaces_in_filename.yml +45 -45
  37. data/spec/fixtures/api_cassettes/not_found_order.yml +42 -42
  38. data/spec/fixtures/api_cassettes/submit_cp_order.yml +44 -45
  39. data/spec/fixtures/api_cassettes/submit_su_order.yml +44 -45
  40. data/spec/fixtures/api_cassettes/submit_tc_order_with_account_balance.yml +44 -45
  41. data/spec/fixtures/api_cassettes/submit_tc_order_with_invalid_request.yml +45 -45
  42. data/spec/fixtures/api_cassettes/submit_tc_order_without_specifying_payment.yml +44 -45
  43. data/spec/fixtures/api_cassettes/unauthorized.yml +42 -42
  44. data/spec/fixtures/api_cassettes/upload_input.yml +90 -90
  45. data/spec/fixtures/api_cassettes/upload_input_with_invalid_content_type.yml +91 -91
  46. data/spec/lib/rev/api_spec.rb +30 -24
  47. data/spec/lib/rev/cancel_order_spec.rb +24 -24
  48. data/spec/lib/rev/exceptions_spec.rb +8 -8
  49. data/spec/lib/rev/get_attachment_content_spec.rb +79 -79
  50. data/spec/lib/rev/get_attachment_metadata_spec.rb +33 -33
  51. data/spec/lib/rev/get_order_spec.rb +52 -68
  52. data/spec/lib/rev/get_orders_spec.rb +62 -62
  53. data/spec/lib/rev/http_client_spec.rb +32 -32
  54. data/spec/lib/rev/models/order_request_spec.rb +79 -10
  55. data/spec/lib/rev/models/order_spec.rb +58 -58
  56. data/spec/lib/rev/post_inputs_spec.rb +94 -94
  57. data/spec/lib/rev/post_order_spec.rb +163 -195
  58. data/spec/spec_helper.rb +47 -49
  59. data/spec/test_helpers.rb +5 -0
  60. metadata +10 -28
  61. data/.coveralls.yml +0 -2
  62. data/spec/fixtures/api_cassettes/get_tr_order.yml +0 -44
  63. data/spec/fixtures/api_cassettes/submit_tr_order.yml +0 -44
@@ -1,65 +1,65 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://www.revtrunk.com/api/v1/attachments/4QWoFrwBAAABAAAA/content
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept:
11
- - text/plain
12
- Accept-Charset:
13
- - utf-8
14
- Authorization:
15
- - Rev welcome:AAAAAu/YjZ3phXU5FsF35yIcgiA=
16
- User-Agent:
17
- - RevOfficialRubySDK/1.0.0
18
- response:
19
- status:
20
- code: 200
21
- message: !binary |-
22
- T0s=
23
- headers:
24
- !binary "Q2FjaGUtQ29udHJvbA==":
25
- - !binary |-
26
- bm8tY2FjaGU=
27
- !binary "UHJhZ21h":
28
- - !binary |-
29
- bm8tY2FjaGU=
30
- !binary "Q29udGVudC1MZW5ndGg=":
31
- - !binary |-
32
- MzYx
33
- !binary "Q29udGVudC1UeXBl":
34
- - !binary |-
35
- dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
36
- !binary "RXhwaXJlcw==":
37
- - !binary |-
38
- LTE=
39
- !binary "U2VydmVy":
40
- - !binary |-
41
- TWljcm9zb2Z0LUlJUy83LjU=
42
- !binary "Q29udGVudC1EaXNwb3NpdGlvbg==":
43
- - !binary |-
44
- YXR0YWNobWVudDsgZmlsZW5hbWU9RXhhbXBsZS5kb2N4
45
- !binary "WC1Qb3dlcmVkLUJ5":
46
- - !binary |-
47
- QVNQLk5FVA==
48
- !binary "RGF0ZQ==":
49
- - !binary |-
50
- VGh1LCAxOSBTZXAgMjAxMyAyMToxNDo1OSBHTVQ=
51
- body:
52
- encoding: ASCII-8BIT
53
- string: !binary |-
54
- VGl0bGUNCkhlYWRpbmcNClRvIHRha2UgYWR2YW50YWdlIG9mIHRoaXMgdGVt
55
- cGxhdGXigJlzIGRlc2lnbiwgdXNlIHRoZSBTdHlsZXMgZ2FsbGVyeSBvbiB0
56
- aGUgSG9tZSB0YWIuIFlvdSBjYW4gZm9ybWF0IHlvdXIgaGVhZGluZ3MgYnkg
57
- dXNpbmcgaGVhZGluZyBzdHlsZXMsIG9yIGhpZ2hsaWdodCBpbXBvcnRhbnQg
58
- dGV4dCB1c2luZyBvdGhlciBzdHlsZXMsIGxpa2UgRW1waGFzaXMgYW5kIElu
59
- dGVuc2UgUXVvdGUuIFRoZXNlIHN0eWxlcyBjb21lIGluIGZvcm1hdHRlZCB0
60
- byBsb29rIGdyZWF0IGFuZCB3b3JrIHRvZ2V0aGVyIHRvIGhlbHAgY29tbXVu
61
- aWNhdGUgeW91ciBpZGVhcy4NCkdvIGFoZWFkIGFuZCBnZXQgc3RhcnRlZC4N
62
- Cg==
63
- http_version:
64
- recorded_at: Thu, 19 Sep 2013 21:14:59 GMT
65
- recorded_with: VCR 2.5.0
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://www.revtrunk.com/api/v1/attachments/4QWoFrwBAAABAAAA/content
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - text/plain
12
+ Accept-Charset:
13
+ - utf-8
14
+ Authorization:
15
+ - Rev welcome:AAAAAu/YjZ3phXU5FsF35yIcgiA=
16
+ User-Agent:
17
+ - RevOfficialRubySDK/1.0.0
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: !binary |-
22
+ T0s=
23
+ headers:
24
+ !binary "Q2FjaGUtQ29udHJvbA==":
25
+ - !binary |-
26
+ bm8tY2FjaGU=
27
+ !binary "UHJhZ21h":
28
+ - !binary |-
29
+ bm8tY2FjaGU=
30
+ !binary "Q29udGVudC1MZW5ndGg=":
31
+ - !binary |-
32
+ MzYx
33
+ !binary "Q29udGVudC1UeXBl":
34
+ - !binary |-
35
+ dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
36
+ !binary "RXhwaXJlcw==":
37
+ - !binary |-
38
+ LTE=
39
+ !binary "U2VydmVy":
40
+ - !binary |-
41
+ TWljcm9zb2Z0LUlJUy83LjU=
42
+ !binary "Q29udGVudC1EaXNwb3NpdGlvbg==":
43
+ - !binary |-
44
+ YXR0YWNobWVudDsgZmlsZW5hbWU9RXhhbXBsZS5kb2N4
45
+ !binary "WC1Qb3dlcmVkLUJ5":
46
+ - !binary |-
47
+ QVNQLk5FVA==
48
+ !binary "RGF0ZQ==":
49
+ - !binary |-
50
+ VGh1LCAxOSBTZXAgMjAxMyAyMToxNDo1OSBHTVQ=
51
+ body:
52
+ encoding: ASCII-8BIT
53
+ string: !binary |-
54
+ VGl0bGUNCkhlYWRpbmcNClRvIHRha2UgYWR2YW50YWdlIG9mIHRoaXMgdGVt
55
+ cGxhdGXigJlzIGRlc2lnbiwgdXNlIHRoZSBTdHlsZXMgZ2FsbGVyeSBvbiB0
56
+ aGUgSG9tZSB0YWIuIFlvdSBjYW4gZm9ybWF0IHlvdXIgaGVhZGluZ3MgYnkg
57
+ dXNpbmcgaGVhZGluZyBzdHlsZXMsIG9yIGhpZ2hsaWdodCBpbXBvcnRhbnQg
58
+ dGV4dCB1c2luZyBvdGhlciBzdHlsZXMsIGxpa2UgRW1waGFzaXMgYW5kIElu
59
+ dGVuc2UgUXVvdGUuIFRoZXNlIHN0eWxlcyBjb21lIGluIGZvcm1hdHRlZCB0
60
+ byBsb29rIGdyZWF0IGFuZCB3b3JrIHRvZ2V0aGVyIHRvIGhlbHAgY29tbXVu
61
+ aWNhdGUgeW91ciBpZGVhcy4NCkdvIGFoZWFkIGFuZCBnZXQgc3RhcnRlZC4N
62
+ Cg==
63
+ http_version:
64
+ recorded_at: Thu, 19 Sep 2013 21:14:59 GMT
65
+ recorded_with: VCR 2.5.0
@@ -1,66 +1,66 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://www.revtrunk.com/api/v1/attachments/4QWoFrwBAAABAAAA/content
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept:
11
- - text/plain; format=youtube-transcript
12
- Accept-Charset:
13
- - utf-8
14
- Authorization:
15
- - Rev welcome:AAAAAu/YjZ3phXU5FsF35yIcgiA=
16
- User-Agent:
17
- - RevOfficialRubySDK/1.0.0
18
- response:
19
- status:
20
- code: 200
21
- message: !binary |-
22
- T0s=
23
- headers:
24
- !binary "Q2FjaGUtQ29udHJvbA==":
25
- - !binary |-
26
- bm8tY2FjaGU=
27
- !binary "UHJhZ21h":
28
- - !binary |-
29
- bm8tY2FjaGU=
30
- !binary "Q29udGVudC1MZW5ndGg=":
31
- - !binary |-
32
- MzYx
33
- !binary "Q29udGVudC1UeXBl":
34
- - !binary |-
35
- dGV4dC9wbGFpbjsgZm9ybWF0PXlvdXR1YmUtdHJhbnNjcmlwdDsgY2hhcnNl
36
- dD11dGYtOA==
37
- !binary "RXhwaXJlcw==":
38
- - !binary |-
39
- LTE=
40
- !binary "U2VydmVy":
41
- - !binary |-
42
- TWljcm9zb2Z0LUlJUy83LjU=
43
- !binary "Q29udGVudC1EaXNwb3NpdGlvbg==":
44
- - !binary |-
45
- YXR0YWNobWVudDsgZmlsZW5hbWU9RXhhbXBsZS5kb2N4
46
- !binary "WC1Qb3dlcmVkLUJ5":
47
- - !binary |-
48
- QVNQLk5FVA==
49
- !binary "RGF0ZQ==":
50
- - !binary |-
51
- VGh1LCAxOSBTZXAgMjAxMyAyMTozMjozNyBHTVQ=
52
- body:
53
- encoding: ASCII-8BIT
54
- string: !binary |-
55
- VGl0bGUNCkhlYWRpbmcNClRvIHRha2UgYWR2YW50YWdlIG9mIHRoaXMgdGVt
56
- cGxhdGXigJlzIGRlc2lnbiwgdXNlIHRoZSBTdHlsZXMgZ2FsbGVyeSBvbiB0
57
- aGUgSG9tZSB0YWIuIFlvdSBjYW4gZm9ybWF0IHlvdXIgaGVhZGluZ3MgYnkg
58
- dXNpbmcgaGVhZGluZyBzdHlsZXMsIG9yIGhpZ2hsaWdodCBpbXBvcnRhbnQg
59
- dGV4dCB1c2luZyBvdGhlciBzdHlsZXMsIGxpa2UgRW1waGFzaXMgYW5kIElu
60
- dGVuc2UgUXVvdGUuIFRoZXNlIHN0eWxlcyBjb21lIGluIGZvcm1hdHRlZCB0
61
- byBsb29rIGdyZWF0IGFuZCB3b3JrIHRvZ2V0aGVyIHRvIGhlbHAgY29tbXVu
62
- aWNhdGUgeW91ciBpZGVhcy4NCkdvIGFoZWFkIGFuZCBnZXQgc3RhcnRlZC4N
63
- Cg==
64
- http_version:
65
- recorded_at: Thu, 19 Sep 2013 21:32:37 GMT
66
- recorded_with: VCR 2.5.0
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://www.revtrunk.com/api/v1/attachments/4QWoFrwBAAABAAAA/content
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - text/plain; format=youtube-transcript
12
+ Accept-Charset:
13
+ - utf-8
14
+ Authorization:
15
+ - Rev welcome:AAAAAu/YjZ3phXU5FsF35yIcgiA=
16
+ User-Agent:
17
+ - RevOfficialRubySDK/1.0.0
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: !binary |-
22
+ T0s=
23
+ headers:
24
+ !binary "Q2FjaGUtQ29udHJvbA==":
25
+ - !binary |-
26
+ bm8tY2FjaGU=
27
+ !binary "UHJhZ21h":
28
+ - !binary |-
29
+ bm8tY2FjaGU=
30
+ !binary "Q29udGVudC1MZW5ndGg=":
31
+ - !binary |-
32
+ MzYx
33
+ !binary "Q29udGVudC1UeXBl":
34
+ - !binary |-
35
+ dGV4dC9wbGFpbjsgZm9ybWF0PXlvdXR1YmUtdHJhbnNjcmlwdDsgY2hhcnNl
36
+ dD11dGYtOA==
37
+ !binary "RXhwaXJlcw==":
38
+ - !binary |-
39
+ LTE=
40
+ !binary "U2VydmVy":
41
+ - !binary |-
42
+ TWljcm9zb2Z0LUlJUy83LjU=
43
+ !binary "Q29udGVudC1EaXNwb3NpdGlvbg==":
44
+ - !binary |-
45
+ YXR0YWNobWVudDsgZmlsZW5hbWU9RXhhbXBsZS5kb2N4
46
+ !binary "WC1Qb3dlcmVkLUJ5":
47
+ - !binary |-
48
+ QVNQLk5FVA==
49
+ !binary "RGF0ZQ==":
50
+ - !binary |-
51
+ VGh1LCAxOSBTZXAgMjAxMyAyMTozMjozNyBHTVQ=
52
+ body:
53
+ encoding: ASCII-8BIT
54
+ string: !binary |-
55
+ VGl0bGUNCkhlYWRpbmcNClRvIHRha2UgYWR2YW50YWdlIG9mIHRoaXMgdGVt
56
+ cGxhdGXigJlzIGRlc2lnbiwgdXNlIHRoZSBTdHlsZXMgZ2FsbGVyeSBvbiB0
57
+ aGUgSG9tZSB0YWIuIFlvdSBjYW4gZm9ybWF0IHlvdXIgaGVhZGluZ3MgYnkg
58
+ dXNpbmcgaGVhZGluZyBzdHlsZXMsIG9yIGhpZ2hsaWdodCBpbXBvcnRhbnQg
59
+ dGV4dCB1c2luZyBvdGhlciBzdHlsZXMsIGxpa2UgRW1waGFzaXMgYW5kIElu
60
+ dGVuc2UgUXVvdGUuIFRoZXNlIHN0eWxlcyBjb21lIGluIGZvcm1hdHRlZCB0
61
+ byBsb29rIGdyZWF0IGFuZCB3b3JrIHRvZ2V0aGVyIHRvIGhlbHAgY29tbXVu
62
+ aWNhdGUgeW91ciBpZGVhcy4NCkdvIGFoZWFkIGFuZCBnZXQgc3RhcnRlZC4N
63
+ Cg==
64
+ http_version:
65
+ recorded_at: Thu, 19 Sep 2013 21:32:37 GMT
66
+ recorded_with: VCR 2.5.0
@@ -1,42 +1,42 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://www.revtrunk.com/api/v1/attachments/yw27D3gCAAABAAAA/content
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept:
11
- - application/vnd.openxmlformats-officedocument.wordprocessingml.document
12
- Authorization:
13
- - Rev welcome:AAAAAu/YjZ3phXU5FsF35yIcgiA=
14
- User-Agent:
15
- - RevOfficialRubySDK/1.0.0
16
- response:
17
- status:
18
- code: 406
19
- message: Not Acceptable
20
- headers:
21
- Cache-Control:
22
- - no-cache
23
- Pragma:
24
- - no-cache
25
- Expires:
26
- - '-1'
27
- Server:
28
- - Microsoft-IIS/7.5
29
- X-Miniprofiler-Ids:
30
- - ! '["a45389be-f0d9-4bb5-b6cb-ea3ee4aed6c4","79ff795c-db87-4e67-be5c-a5773cf71a21","27def4d9-156b-4450-9935-c81d59412ca1"]'
31
- X-Powered-By:
32
- - ASP.NET
33
- Date:
34
- - Fri, 13 Sep 2013 20:01:18 GMT
35
- Content-Length:
36
- - '0'
37
- body:
38
- encoding: US-ASCII
39
- string: ''
40
- http_version:
41
- recorded_at: Fri, 13 Sep 2013 20:01:18 GMT
42
- recorded_with: VCR 2.5.0
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://www.revtrunk.com/api/v1/attachments/yw27D3gCAAABAAAA/content
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/msword
12
+ Authorization:
13
+ - Rev welcome:AAAAAu/YjZ3phXU5FsF35yIcgiA=
14
+ User-Agent:
15
+ - RevOfficialRubySDK/1.0.0
16
+ response:
17
+ status:
18
+ code: 406
19
+ message: Not Acceptable
20
+ headers:
21
+ Cache-Control:
22
+ - no-cache
23
+ Pragma:
24
+ - no-cache
25
+ Expires:
26
+ - '-1'
27
+ Server:
28
+ - Microsoft-IIS/7.5
29
+ X-Miniprofiler-Ids:
30
+ - ! '["a45389be-f0d9-4bb5-b6cb-ea3ee4aed6c4","79ff795c-db87-4e67-be5c-a5773cf71a21","27def4d9-156b-4450-9935-c81d59412ca1"]'
31
+ X-Powered-By:
32
+ - ASP.NET
33
+ Date:
34
+ - Fri, 13 Sep 2013 20:01:18 GMT
35
+ Content-Length:
36
+ - '0'
37
+ body:
38
+ encoding: US-ASCII
39
+ string: ''
40
+ http_version:
41
+ recorded_at: Fri, 13 Sep 2013 20:01:18 GMT
42
+ recorded_with: VCR 2.5.0
@@ -1,42 +1,42 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://www.revtrunk.com/api/v1/attachments/trololo/content
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept:
11
- - ! '*/*'
12
- Authorization:
13
- - Rev welcome:AAAAAu/YjZ3phXU5FsF35yIcgiA=
14
- User-Agent:
15
- - RevOfficialRubySDK/1.0.0
16
- response:
17
- status:
18
- code: 404
19
- message: Not Found
20
- headers:
21
- Cache-Control:
22
- - no-cache
23
- Pragma:
24
- - no-cache
25
- Expires:
26
- - '-1'
27
- Server:
28
- - Microsoft-IIS/7.5
29
- X-Miniprofiler-Ids:
30
- - ! '["dac14788-8fb6-43b8-a895-300e55650ffe"]'
31
- X-Powered-By:
32
- - ASP.NET
33
- Date:
34
- - Fri, 13 Sep 2013 00:18:00 GMT
35
- Content-Length:
36
- - '0'
37
- body:
38
- encoding: US-ASCII
39
- string: ''
40
- http_version:
41
- recorded_at: Fri, 13 Sep 2013 00:18:00 GMT
42
- recorded_with: VCR 2.5.0
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://www.revtrunk.com/api/v1/attachments/trololo/content
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - ! '*/*'
12
+ Authorization:
13
+ - Rev welcome:AAAAAu/YjZ3phXU5FsF35yIcgiA=
14
+ User-Agent:
15
+ - RevOfficialRubySDK/1.0.0
16
+ response:
17
+ status:
18
+ code: 404
19
+ message: Not Found
20
+ headers:
21
+ Cache-Control:
22
+ - no-cache
23
+ Pragma:
24
+ - no-cache
25
+ Expires:
26
+ - '-1'
27
+ Server:
28
+ - Microsoft-IIS/7.5
29
+ X-Miniprofiler-Ids:
30
+ - ! '["dac14788-8fb6-43b8-a895-300e55650ffe"]'
31
+ X-Powered-By:
32
+ - ASP.NET
33
+ Date:
34
+ - Fri, 13 Sep 2013 00:18:00 GMT
35
+ Content-Length:
36
+ - '0'
37
+ body:
38
+ encoding: US-ASCII
39
+ string: ''
40
+ http_version:
41
+ recorded_at: Fri, 13 Sep 2013 00:18:00 GMT
42
+ recorded_with: VCR 2.5.0
@@ -1,42 +1,42 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://www.revtrunk.com/api/v1/attachments/LufnCVQCAAAAAAAA
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Authorization:
11
- - Rev welcome:AAAAAu/YjZ3phXU5FsF35yIcgiA=
12
- User-Agent:
13
- - RevOfficialRubySDK/1.0.0
14
- response:
15
- status:
16
- code: 200
17
- message: OK
18
- headers:
19
- Cache-Control:
20
- - no-cache
21
- Pragma:
22
- - no-cache
23
- Content-Type:
24
- - application/json; charset=utf-8
25
- Expires:
26
- - '-1'
27
- Server:
28
- - Microsoft-IIS/7.5
29
- X-Miniprofiler-Ids:
30
- - ! '["2e6c5420-c68e-46b3-9302-1aef580afa7c"]'
31
- X-Powered-By:
32
- - ASP.NET
33
- Date:
34
- - Thu, 12 Sep 2013 21:49:25 GMT
35
- Content-Length:
36
- - '207'
37
- body:
38
- encoding: US-ASCII
39
- string: ! '{"kind":"media","name":"How can I find success in life.mp4","id":"LufnCVQCAAAAAAAA","audio_length_seconds":300,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/LufnCVQCAAAAAAAA/content"}]}'
40
- http_version:
41
- recorded_at: Thu, 12 Sep 2013 21:49:24 GMT
42
- recorded_with: VCR 2.5.0
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://www.revtrunk.com/api/v1/attachments/LufnCVQCAAAAAAAA
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Authorization:
11
+ - Rev welcome:AAAAAu/YjZ3phXU5FsF35yIcgiA=
12
+ User-Agent:
13
+ - RevOfficialRubySDK/1.0.0
14
+ response:
15
+ status:
16
+ code: 200
17
+ message: OK
18
+ headers:
19
+ Cache-Control:
20
+ - no-cache
21
+ Pragma:
22
+ - no-cache
23
+ Content-Type:
24
+ - application/json; charset=utf-8
25
+ Expires:
26
+ - '-1'
27
+ Server:
28
+ - Microsoft-IIS/7.5
29
+ X-Miniprofiler-Ids:
30
+ - ! '["2e6c5420-c68e-46b3-9302-1aef580afa7c"]'
31
+ X-Powered-By:
32
+ - ASP.NET
33
+ Date:
34
+ - Thu, 12 Sep 2013 21:49:25 GMT
35
+ Content-Length:
36
+ - '207'
37
+ body:
38
+ encoding: US-ASCII
39
+ string: ! '{"kind":"media","name":"How can I find success in life.mp4","id":"LufnCVQCAAAAAAAA","audio_length_seconds":300,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/LufnCVQCAAAAAAAA/content"}]}'
40
+ http_version:
41
+ recorded_at: Thu, 12 Sep 2013 21:49:24 GMT
42
+ recorded_with: VCR 2.5.0