rev-api 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +15 -0
  2. data/.gitignore +20 -0
  3. data/.ruby-gemset +1 -0
  4. data/.ruby-version +1 -0
  5. data/Gemfile +3 -0
  6. data/Gemfile.lock +42 -0
  7. data/LICENSE +191 -0
  8. data/README.md +124 -0
  9. data/Rakefile +14 -0
  10. data/examples/cli.rb +200 -0
  11. data/lib/rev-api.rb +26 -0
  12. data/lib/rev-api/api.rb +311 -0
  13. data/lib/rev-api/api_serializable.rb +30 -0
  14. data/lib/rev-api/exceptions.rb +108 -0
  15. data/lib/rev-api/http_client.rb +97 -0
  16. data/lib/rev-api/models/order.rb +113 -0
  17. data/lib/rev-api/models/order_request.rb +183 -0
  18. data/lib/rev-api/version.rb +3 -0
  19. data/rev-api.gemspec +33 -0
  20. data/spec/fixtures/api_cassettes/cancel_order.yml +38 -0
  21. data/spec/fixtures/api_cassettes/cancel_order_not_allowed.yml +40 -0
  22. data/spec/fixtures/api_cassettes/get_attachment_content.yml +399 -0
  23. data/spec/fixtures/api_cassettes/get_attachment_content_as_pdf.yml +399 -0
  24. data/spec/fixtures/api_cassettes/get_attachment_content_as_text.yml +65 -0
  25. data/spec/fixtures/api_cassettes/get_attachment_content_as_youtube_transcript.yml +66 -0
  26. data/spec/fixtures/api_cassettes/get_attachment_content_unacceptable_representation.yml +42 -0
  27. data/spec/fixtures/api_cassettes/get_attachment_content_with_invalid_id.yml +42 -0
  28. data/spec/fixtures/api_cassettes/get_attachment_metadata.yml +42 -0
  29. data/spec/fixtures/api_cassettes/get_attachment_with_invalid_id.yml +40 -0
  30. data/spec/fixtures/api_cassettes/get_orders.yml +122 -0
  31. data/spec/fixtures/api_cassettes/get_tc_order.yml +44 -0
  32. data/spec/fixtures/api_cassettes/get_third_page_of_orders.yml +58 -0
  33. data/spec/fixtures/api_cassettes/get_tr_order.yml +44 -0
  34. data/spec/fixtures/api_cassettes/link_input.yml +44 -0
  35. data/spec/fixtures/api_cassettes/link_input_with_all_attributes.yml +44 -0
  36. data/spec/fixtures/api_cassettes/not_found_order.yml +42 -0
  37. data/spec/fixtures/api_cassettes/submit_tc_order_with_account_balance.yml +45 -0
  38. data/spec/fixtures/api_cassettes/submit_tc_order_with_cc_and_all_attributes.yml +46 -0
  39. data/spec/fixtures/api_cassettes/submit_tc_order_with_invalid_request.yml +45 -0
  40. data/spec/fixtures/api_cassettes/submit_tc_order_with_saved_cc.yml +45 -0
  41. data/spec/fixtures/api_cassettes/submit_tr_order.yml +44 -0
  42. data/spec/fixtures/api_cassettes/unauthorized.yml +42 -0
  43. data/spec/fixtures/api_cassettes/upload_input.yml +130 -0
  44. data/spec/fixtures/api_cassettes/upload_input_with_invalid_content_type.yml +131 -0
  45. data/spec/fixtures/sourcedocument.png +0 -0
  46. data/spec/lib/rev/api_spec.rb +24 -0
  47. data/spec/lib/rev/cancel_order_spec.rb +25 -0
  48. data/spec/lib/rev/get_attachment_content_spec.rb +79 -0
  49. data/spec/lib/rev/get_attachment_metadata_spec.rb +33 -0
  50. data/spec/lib/rev/get_order_spec.rb +68 -0
  51. data/spec/lib/rev/get_orders_spec.rb +39 -0
  52. data/spec/lib/rev/http_client_spec.rb +32 -0
  53. data/spec/lib/rev/post_inputs_spec.rb +75 -0
  54. data/spec/lib/rev/post_order_spec.rb +207 -0
  55. data/spec/spec_helper.rb +31 -0
  56. metadata +248 -0
@@ -0,0 +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
@@ -0,0 +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
@@ -0,0 +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
@@ -0,0 +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
@@ -0,0 +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":5,"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
@@ -0,0 +1,40 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://www.revtrunk.com/api/v1/attachments/trololo
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: 404
17
+ message: Not Found
18
+ headers:
19
+ Cache-Control:
20
+ - no-cache
21
+ Pragma:
22
+ - no-cache
23
+ Expires:
24
+ - '-1'
25
+ Server:
26
+ - Microsoft-IIS/7.5
27
+ X-Miniprofiler-Ids:
28
+ - ! '["2e6c5420-c68e-46b3-9302-1aef580afa7c","2d3fa7aa-7c42-4867-b60e-25cae39716f0"]'
29
+ X-Powered-By:
30
+ - ASP.NET
31
+ Date:
32
+ - Thu, 12 Sep 2013 21:56:06 GMT
33
+ Content-Length:
34
+ - '0'
35
+ body:
36
+ encoding: US-ASCII
37
+ string: ''
38
+ http_version:
39
+ recorded_at: Thu, 12 Sep 2013 21:56:05 GMT
40
+ recorded_with: VCR 2.5.0
@@ -0,0 +1,122 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://www.revtrunk.com/api/v1/orders?page=0
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
+ - ! '["a20297a2-2287-448d-b420-b6ea8e95498f","a13bc5df-68de-4aaa-9114-eae8ca16e44f","d3eeb950-099b-447c-a3ec-74dd2af0fd81","3b43fd99-9ad1-40e9-a5bf-56b09237f648","cf5ee5bb-84b5-4d0f-8541-1cfb193f616e"]'
31
+ X-Powered-By:
32
+ - ASP.NET
33
+ Date:
34
+ - Thu, 12 Sep 2013 00:01:11 GMT
35
+ Content-Length:
36
+ - '17451'
37
+ body:
38
+ encoding: US-ASCII
39
+ string: ! '{"total_count":77,"results_per_page":8,"page":0,"orders":[{"order_number":"TC0166192942","price":110.0000,"status":"Finding
40
+ Transcriptionist","transcription":{"total_length":110,"verbatim":false,"timestamps":false},"comments":[],"attachments":[{"kind":"media","name":"How
41
+ can I find success in life.mp4","id":"LufnCVQCAAAAAAAA","audio_length":5,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/LufnCVQCAAAAAAAA/content"}]},{"kind":"media","name":"Temptation
42
+ and willpower.mp4","id":"LufnCVUCAAAAAAAA","audio_length":9,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/LufnCVUCAAAAAAAA/content"}]},{"kind":"media","name":"Why
43
+ does our culture fail to fulfill us.mp4","id":"LufnCVYCAAAAAAAA","audio_length":4,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/LufnCVYCAAAAAAAA/content"}]},{"kind":"media","name":"What
44
+ do I need to do to be happier.mp4","id":"LufnCVcCAAAAAAAA","audio_length":5,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/LufnCVcCAAAAAAAA/content"}]},{"kind":"media","name":"Why
45
+ doesn''t just looking out for myself bring me happiness.mp4","id":"LufnCVgCAAAAAAAA","audio_length":4,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/LufnCVgCAAAAAAAA/content"}]},{"kind":"media","name":"What
46
+ is the classroom of silence.mp4","id":"LufnCVkCAAAAAAAA","audio_length":7,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/LufnCVkCAAAAAAAA/content"}]},{"kind":"media","name":"Is
47
+ it just me or is it hard to pray.mp4","id":"LufnCVoCAAAAAAAA","audio_length":14,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/LufnCVoCAAAAAAAA/content"}]},{"kind":"media","name":"Can
48
+ I know God''s purpose for my life.mp4","id":"LufnCVsCAAAAAAAA","audio_length":5,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/LufnCVsCAAAAAAAA/content"}]},{"kind":"media","name":"A
49
+ story to illustrate what really matters.mp4","id":"LufnCVwCAAAAAAAA","audio_length":8,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/LufnCVwCAAAAAAAA/content"}]},{"kind":"media","name":"How
50
+ does God speak to us.mp4","id":"LufnCV0CAAAAAAAA","audio_length":7,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/LufnCV0CAAAAAAAA/content"}]},{"kind":"media","name":"Does
51
+ God want me to be happy.mp4","id":"LufnCV4CAAAAAAAA","audio_length":4,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/LufnCV4CAAAAAAAA/content"}]},{"kind":"media","name":"What
52
+ does God want from me What is the essence of Christianity.mp4","id":"LufnCV8CAAAAAAAA","audio_length":4,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/LufnCV8CAAAAAAAA/content"}]},{"kind":"media","name":"Why
53
+ should I seek God''s will for my life.mp4","id":"LufnCWACAAAAAAAA","audio_length":2,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/LufnCWACAAAAAAAA/content"}]},{"kind":"media","name":"How
54
+ should I define success.mp4","id":"LufnCWECAAAAAAAA","audio_length":1,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/LufnCWECAAAAAAAA/content"}]},{"kind":"media","name":"Be
55
+ not afraid.mp4","id":"LufnCWICAAAAAAAA","audio_length":3,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/LufnCWICAAAAAAAA/content"}]},{"kind":"media","name":"How
56
+ does a day of rest bring me closer to God.mp4","id":"LufnCWMCAAAAAAAA","audio_length":3,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/LufnCWMCAAAAAAAA/content"}]},{"kind":"media","name":"What
57
+ is sin.mp4","id":"LufnCWQCAAAAAAAA","audio_length":0,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/LufnCWQCAAAAAAAA/content"}]},{"kind":"media","name":"I''m
58
+ so busy where will I find time for God in my life.mp4","id":"LufnCWUCAAAAAAAA","audio_length":1,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/LufnCWUCAAAAAAAA/content"}]},{"kind":"media","name":"How
59
+ can I improve every relationship I have.mp4","id":"LufnCWYCAAAAAAAA","audio_length":1,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/LufnCWYCAAAAAAAA/content"}]},{"kind":"media","name":"The
60
+ reality of addictions.mp4","id":"LufnCWcCAAAAAAAA","audio_length":3,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/LufnCWcCAAAAAAAA/content"}]},{"kind":"media","name":"Dealing
61
+ with criticism.mp4","id":"LufnCWgCAAAAAAAA","audio_length":2,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/LufnCWgCAAAAAAAA/content"}]},{"kind":"media","name":"How
62
+ can I change my life for the better.mp4","id":"LufnCWkCAAAAAAAA","audio_length":3,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/LufnCWkCAAAAAAAA/content"}]},{"kind":"media","name":"What
63
+ do my habits have to do with my happiness.mp4","id":"LufnCWoCAAAAAAAA","audio_length":1,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/LufnCWoCAAAAAAAA/content"}]},{"kind":"media","name":"What
64
+ does increasing my energy have to do with happiness.mp4","id":"LufnCWsCAAAAAAAA","audio_length":1,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/LufnCWsCAAAAAAAA/content"}]},{"kind":"media","name":"What
65
+ is prayer.mp4","id":"LufnCWwCAAAAAAAA","audio_length":2,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/LufnCWwCAAAAAAAA/content"}]},{"kind":"media","name":"What
66
+ is the purpose of prayer.mp4","id":"LufnCW0CAAAAAAAA","audio_length":3,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/LufnCW0CAAAAAAAA/content"}]},{"kind":"media","name":"Why
67
+ should I pray.mp4","id":"LufnCW4CAAAAAAAA","audio_length":3,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/LufnCW4CAAAAAAAA/content"}]},{"kind":"media","name":"What
68
+ is the benefit of prayer.mp4","id":"LufnCW8CAAAAAAAA","audio_length":1,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/LufnCW8CAAAAAAAA/content"}]},{"kind":"media","name":"Temptation
69
+ and prayer.mp4","id":"LufnCXACAAAAAAAA","audio_length":1,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/LufnCXACAAAAAAAA/content"}]},{"kind":"media","name":"What
70
+ gifts does God give the Catholic Church.mp4","id":"LufnCXECAAAAAAAA","audio_length":2,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/LufnCXECAAAAAAAA/content"}]},{"kind":"media","name":"Is
71
+ there really a small still voice in me and why does it matter.mp4","id":"LufnCXICAAAAAAAA","audio_length":2,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/LufnCXICAAAAAAAA/content"}]},{"kind":"media","name":"Why
72
+ is silence a necessity to creating a relationship with God.mp4","id":"LufnCXMCAAAAAAAA","audio_length":1,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/LufnCXMCAAAAAAAA/content"}]},{"kind":"media","name":"How
73
+ does God want me to view my life and our world.mp4","id":"LufnCXQCAAAAAAAA","audio_length":3,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/LufnCXQCAAAAAAAA/content"}]},{"kind":"media","name":"What
74
+ is the Christian life.mp4","id":"LufnCXUCAAAAAAAA","audio_length":1,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/LufnCXUCAAAAAAAA/content"}]},{"kind":"media","name":"Why
75
+ should I ask the big questions of life.mp4","id":"LufnCXYCAAAAAAAA","audio_length":3,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/LufnCXYCAAAAAAAA/content"}]},{"kind":"media","name":"What
76
+ is my essential purpose.mp4","id":"LufnCXcCAAAAAAAA","audio_length":2,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/LufnCXcCAAAAAAAA/content"}]}]},{"order_number":"TC0451696600","price":10.0000,"status":"Finding
77
+ Transcriptionist","transcription":{"total_length":10,"verbatim":false,"timestamps":false},"comments":[],"attachments":[{"kind":"media","name":"How
78
+ can I find success in life.mp4","id":"2FfsGlMCAAAAAAAA","audio_length":5,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/2FfsGlMCAAAAAAAA/content"}]}]},{"order_number":"TC0130484353","price":10.0000,"status":"Finding
79
+ Transcriptionist","transcription":{"total_length":10,"verbatim":false,"timestamps":false},"comments":[],"attachments":[{"kind":"media","name":"How
80
+ can I find success in life.mp4","id":"gQjHB1ICAAAAAAAA","audio_length":5,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/gQjHB1ICAAAAAAAA/content"}]}]},{"order_number":"TC0001341738","price":10.0000,"status":"Finding
81
+ Transcriptionist","transcription":{"total_length":10,"verbatim":false,"timestamps":false},"comments":[],"attachments":[{"kind":"media","name":"Ways
82
+ to Say No (And Still Be Cool).mp4","id":"KnkUAFECAAAAAAAA","audio_length":0,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/KnkUAFECAAAAAAAA/content"}]}]},{"order_number":"TC0233908691","price":10.0000,"status":"Finding
83
+ Transcriptionist","transcription":{"total_length":10,"verbatim":false,"timestamps":false},"comments":[],"attachments":[{"kind":"media","name":"http://www.youtube.com/watch?feature=player_embedded&v=PJXCp9C380c","id":"0ynxDVACAAAAAAAA","links":[]}]},{"order_number":"TC0519330429","price":10.0000,"status":"Finding
84
+ Transcriptionist","transcription":{"total_length":10,"verbatim":false,"timestamps":false},"comments":[],"attachments":[{"kind":"media","name":"How
85
+ can I find success in life.mp4","id":"fVr0HiwCAAAAAAAA","audio_length":5,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/fVr0HiwCAAAAAAAA/content"}]},{"kind":"media","name":"http://www.youtube.com/watch?feature=player_embedded&v=fPZlcAhCBSY","id":"fVr0Hi0CAAAAAAAA","links":[]},{"kind":"media","name":"Why
86
+ does our culture fail to fulfill us.mp4","id":"fVr0Hi4CAAAAAAAA","audio_length":4,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/fVr0Hi4CAAAAAAAA/content"}]},{"kind":"media","name":"What
87
+ do I need to do to be happier.mp4","id":"fVr0Hi8CAAAAAAAA","audio_length":5,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/fVr0Hi8CAAAAAAAA/content"}]},{"kind":"media","name":"Why
88
+ doesn''t just looking out for myself bring me happiness.mp4","id":"fVr0HjACAAAAAAAA","audio_length":4,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/fVr0HjACAAAAAAAA/content"}]},{"kind":"media","name":"What
89
+ is the classroom of silence.mp4","id":"fVr0HjECAAAAAAAA","audio_length":7,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/fVr0HjECAAAAAAAA/content"}]},{"kind":"media","name":"Is
90
+ it just me or is it hard to pray.mp4","id":"fVr0HjICAAAAAAAA","audio_length":14,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/fVr0HjICAAAAAAAA/content"}]},{"kind":"media","name":"Can
91
+ I know God''s purpose for my life.mp4","id":"fVr0HjMCAAAAAAAA","audio_length":5,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/fVr0HjMCAAAAAAAA/content"}]},{"kind":"media","name":"http://www.youtube.com/watch?feature=player_embedded&v=-2wCh_9EfuU","id":"fVr0HjQCAAAAAAAA","links":[]},{"kind":"media","name":"How
92
+ does God speak to us.mp4","id":"fVr0HjUCAAAAAAAA","audio_length":7,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/fVr0HjUCAAAAAAAA/content"}]},{"kind":"media","name":"Does
93
+ God want me to be happy.mp4","id":"fVr0HjYCAAAAAAAA","audio_length":4,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/fVr0HjYCAAAAAAAA/content"}]},{"kind":"media","name":"What
94
+ does God want from me What is the essence of Christianity.mp4","id":"fVr0HjcCAAAAAAAA","audio_length":4,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/fVr0HjcCAAAAAAAA/content"}]},{"kind":"media","name":"Why
95
+ should I seek God''s will for my life.mp4","id":"fVr0HjgCAAAAAAAA","audio_length":2,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/fVr0HjgCAAAAAAAA/content"}]},{"kind":"media","name":"How
96
+ should I define success.mp4","id":"fVr0HjkCAAAAAAAA","audio_length":1,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/fVr0HjkCAAAAAAAA/content"}]},{"kind":"media","name":"Be
97
+ not afraid.mp4","id":"fVr0HjoCAAAAAAAA","audio_length":3,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/fVr0HjoCAAAAAAAA/content"}]},{"kind":"media","name":"How
98
+ does a day of rest bring me closer to God.mp4","id":"fVr0HjsCAAAAAAAA","audio_length":3,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/fVr0HjsCAAAAAAAA/content"}]},{"kind":"media","name":"What
99
+ is sin.mp4","id":"fVr0HjwCAAAAAAAA","audio_length":0,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/fVr0HjwCAAAAAAAA/content"}]},{"kind":"media","name":"I''m
100
+ so busy where will I find time for God in my life.mp4","id":"fVr0Hj0CAAAAAAAA","audio_length":1,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/fVr0Hj0CAAAAAAAA/content"}]},{"kind":"media","name":"How
101
+ can I improve every relationship I have.mp4","id":"fVr0Hj4CAAAAAAAA","audio_length":1,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/fVr0Hj4CAAAAAAAA/content"}]},{"kind":"media","name":"The
102
+ reality of addictions.mp4","id":"fVr0Hj8CAAAAAAAA","audio_length":3,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/fVr0Hj8CAAAAAAAA/content"}]},{"kind":"media","name":"Dealing
103
+ with criticism.mp4","id":"fVr0HkACAAAAAAAA","audio_length":2,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/fVr0HkACAAAAAAAA/content"}]},{"kind":"media","name":"How
104
+ can I change my life for the better.mp4","id":"fVr0HkECAAAAAAAA","audio_length":3,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/fVr0HkECAAAAAAAA/content"}]},{"kind":"media","name":"What
105
+ do my habits have to do with my happiness.mp4","id":"fVr0HkICAAAAAAAA","audio_length":1,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/fVr0HkICAAAAAAAA/content"}]},{"kind":"media","name":"What
106
+ does increasing my energy have to do with happiness.mp4","id":"fVr0HkMCAAAAAAAA","audio_length":1,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/fVr0HkMCAAAAAAAA/content"}]},{"kind":"media","name":"What
107
+ is prayer.mp4","id":"fVr0HkQCAAAAAAAA","audio_length":2,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/fVr0HkQCAAAAAAAA/content"}]},{"kind":"media","name":"What
108
+ is the purpose of prayer.mp4","id":"fVr0HkUCAAAAAAAA","audio_length":3,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/fVr0HkUCAAAAAAAA/content"}]},{"kind":"media","name":"Why
109
+ should I pray.mp4","id":"fVr0HkYCAAAAAAAA","audio_length":3,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/fVr0HkYCAAAAAAAA/content"}]},{"kind":"media","name":"What
110
+ is the benefit of prayer.mp4","id":"fVr0HkcCAAAAAAAA","audio_length":1,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/fVr0HkcCAAAAAAAA/content"}]},{"kind":"media","name":"Temptation
111
+ and prayer.mp4","id":"fVr0HkgCAAAAAAAA","audio_length":1,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/fVr0HkgCAAAAAAAA/content"}]},{"kind":"media","name":"What
112
+ gifts does God give the Catholic Church.mp4","id":"fVr0HkkCAAAAAAAA","audio_length":2,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/fVr0HkkCAAAAAAAA/content"}]},{"kind":"media","name":"Is
113
+ there really a small still voice in me and why does it matter.mp4","id":"fVr0HkoCAAAAAAAA","audio_length":2,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/fVr0HkoCAAAAAAAA/content"}]},{"kind":"media","name":"Why
114
+ is silence a necessity to creating a relationship with God.mp4","id":"fVr0HksCAAAAAAAA","audio_length":1,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/fVr0HksCAAAAAAAA/content"}]},{"kind":"media","name":"How
115
+ does God want me to view my life and our world.mp4","id":"fVr0HkwCAAAAAAAA","audio_length":3,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/fVr0HkwCAAAAAAAA/content"}]},{"kind":"media","name":"http://www.youtube.com/watch?feature=player_embedded&v=K7vqz8BEb6E","id":"fVr0Hk0CAAAAAAAA","links":[]},{"kind":"media","name":"Why
116
+ should I ask the big questions of life.mp4","id":"fVr0Hk4CAAAAAAAA","audio_length":3,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/fVr0Hk4CAAAAAAAA/content"}]},{"kind":"media","name":"What
117
+ is my essential purpose.mp4","id":"fVr0Hk8CAAAAAAAA","audio_length":2,"links":[{"rel":"content","href":"https://www.revtrunk.com/api/v1/attachments/fVr0Hk8CAAAAAAAA/content"}]}]},{"order_number":"TC0198249254","price":10.0000,"status":"In
118
+ Progress","transcription":{"total_length":10,"verbatim":false,"timestamps":false},"comments":[],"attachments":[]},{"order_number":"TC0083655631","price":110.0000,"status":"Finding
119
+ Transcriptionist","transcription":{"total_length":110,"verbatim":false,"timestamps":false},"comments":[],"attachments":[]}]}'
120
+ http_version:
121
+ recorded_at: Thu, 12 Sep 2013 00:01:11 GMT
122
+ recorded_with: VCR 2.5.0
@@ -0,0 +1,44 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://www.revtrunk.com/api/v1/orders/TC0233908691
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
+ - ! '["4da53417-6cee-4900-becc-54ffc448d501","b09218a3-e30d-4e14-9ec8-4d8004748fe6","02754721-389c-4df2-86ea-383c7cd585a0"]'
31
+ X-Powered-By:
32
+ - ASP.NET
33
+ Date:
34
+ - Wed, 11 Sep 2013 00:42:52 GMT
35
+ Content-Length:
36
+ - '371'
37
+ body:
38
+ encoding: US-ASCII
39
+ string: ! '{"order_number":"TC0233908691","client_ref":"XC123","price":10.0000,"status":"Finding
40
+ Transcriptionist","transcription":{"total_length":10,"verbatim":false,"timestamps":false},"comments":[{"by":"Admin
41
+ Admin","timestamp":"2013-09-06T20:05:29.663"}],"attachments":[{"kind":"media","name":"http://www.youtube.com/watch?feature=player_embedded&v=PJXCp9C380c","id":"0ynxDVACAAAAAAAA","links":[]}]}'
42
+ http_version:
43
+ recorded_at: Wed, 11 Sep 2013 00:42:52 GMT
44
+ recorded_with: VCR 2.5.0