transcribeme 0.0.5.beta → 1.0.0.alpha
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/.gitignore +2 -1
- data/.rubocop.yml +22 -0
- data/.travis.yml +8 -0
- data/Gemfile +7 -2
- data/Guardfile +35 -0
- data/README.md +36 -7
- data/Rakefile +4 -4
- data/lib/transcribeme.rb +4 -36
- data/lib/transcribeme/api/client.rb +184 -34
- data/lib/transcribeme/version.rb +2 -1
- data/spec/lib/api/client_spec.rb +133 -5
- data/spec/spec_helper.rb +1 -1
- data/spec/support/audio/yes-we-can-speech.mp3 +0 -0
- data/spec/support/cassettes/list_of_recordings.yml +212 -0
- data/spec/support/cassettes/new_session.yml +19 -26
- data/spec/support/cassettes/successful_sign_in.yml +245 -0
- data/spec/support/cassettes/successful_sign_in_after_initialize_call.yml +244 -0
- data/spec/support/cassettes/unsuccessful_sign_in.yml +167 -0
- data/spec/support/cassettes/upload_url.yml +208 -0
- data/transcribeme.gemspec +15 -13
- metadata +52 -27
- metadata.gz.sig +0 -0
- data/lib/transcribeme/api/check_transcription_ready.rb +0 -29
- data/lib/transcribeme/api/customer_login.rb +0 -33
- data/lib/transcribeme/api/finalize_session.rb +0 -30
- data/lib/transcribeme/api/recordings.rb +0 -32
- data/lib/transcribeme/api/session.rb +0 -37
- data/lib/transcribeme/api/submission.rb +0 -31
- data/lib/transcribeme/api/submission_with_promocode.rb +0 -32
- data/lib/transcribeme/api/upload_url.rb +0 -30
- data/lib/transcribeme/customer.rb +0 -5
- data/lib/transcribeme/recording.rb +0 -5
- data/lib/transcribeme/transcription.rb +0 -5
data/lib/transcribeme/version.rb
CHANGED
data/spec/lib/api/client_spec.rb
CHANGED
@@ -2,15 +2,143 @@ require 'transcribeme'
|
|
2
2
|
require 'spec_helper'
|
3
3
|
|
4
4
|
describe TranscribeMe::API::Client do
|
5
|
-
|
5
|
+
|
6
|
+
GUID_REGEX = /[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-(:?8|9|a|b)[a-f0-9]{3}-[a-f0-9]{12}/
|
7
|
+
|
6
8
|
before :all do
|
7
|
-
|
8
|
-
@client = TranscribeMe::API::Client.new
|
9
|
-
end
|
9
|
+
@client = TranscribeMe::API::Client.new
|
10
10
|
end
|
11
11
|
|
12
|
-
it
|
12
|
+
it 'assigns an instance to a variable' do
|
13
13
|
@client.should_not be_nil
|
14
14
|
end
|
15
15
|
|
16
|
+
describe 'initializing a session' do
|
17
|
+
|
18
|
+
before :each do
|
19
|
+
VCR.use_cassette('new_session') do
|
20
|
+
@client.initialize_session
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
it 'has a session id property' do
|
25
|
+
expect(@client.session_id).to_not be_nil
|
26
|
+
end
|
27
|
+
|
28
|
+
it 'uses the session id in the VCR fixture' do
|
29
|
+
expect(@client.session_id).to match GUID_REGEX
|
30
|
+
expect(@client.session_id).to_not be '00000000-0000-0000-0000-000000000000'
|
31
|
+
end
|
32
|
+
|
33
|
+
it 'has an expiry time that is in the future' do
|
34
|
+
@client.session_expiry_time.should > Time.now
|
35
|
+
end
|
36
|
+
|
37
|
+
end
|
38
|
+
|
39
|
+
describe 'logging in as a customer' do
|
40
|
+
|
41
|
+
context 'successfully' do
|
42
|
+
|
43
|
+
context 'before initializing a session' do
|
44
|
+
|
45
|
+
before :all do
|
46
|
+
@another_client = TranscribeMe::API::Client.new
|
47
|
+
end
|
48
|
+
|
49
|
+
it 'logs in with a valid username and password' do
|
50
|
+
VCR.use_cassette('successful_sign_in') do
|
51
|
+
@result = @another_client.sign_in('example@transcribeme.com', 'example')
|
52
|
+
end
|
53
|
+
|
54
|
+
expect(@result).to match GUID_REGEX
|
55
|
+
expect(@result).to_not be '00000000-0000-0000-0000-000000000000'
|
56
|
+
end
|
57
|
+
|
58
|
+
end
|
59
|
+
|
60
|
+
context 'after initializing a session' do
|
61
|
+
|
62
|
+
it 'logs in with a valid username and password' do
|
63
|
+
VCR.use_cassette('successful_sign_in_after_initialize_call') do
|
64
|
+
@client.initialize_session
|
65
|
+
@result = @client.sign_in('example@transcribeme.com', 'example')
|
66
|
+
end
|
67
|
+
|
68
|
+
expect(@result).to match GUID_REGEX
|
69
|
+
expect(@result).to_not be '00000000-0000-0000-0000-000000000000'
|
70
|
+
end
|
71
|
+
|
72
|
+
end
|
73
|
+
|
74
|
+
end
|
75
|
+
|
76
|
+
context 'unsuccessfully' do
|
77
|
+
|
78
|
+
it 'logs in with an invalid username and password' do
|
79
|
+
VCR.use_cassette('unsuccessful_sign_in') do
|
80
|
+
@another_client = TranscribeMe::API::Client.new
|
81
|
+
|
82
|
+
expect do
|
83
|
+
@another_client.sign_in('invalid_example@transcribeme.com', 'invalid_example')
|
84
|
+
end.to raise_error "Provided credentials are invalid. Please check your login and password and try again."
|
85
|
+
|
86
|
+
end
|
87
|
+
|
88
|
+
end
|
89
|
+
|
90
|
+
end
|
91
|
+
end
|
92
|
+
|
93
|
+
describe 'getting a list of recordings' do
|
94
|
+
|
95
|
+
before :each do
|
96
|
+
VCR.use_cassette('list_of_recordings') do
|
97
|
+
@client.initialize_session
|
98
|
+
@client.sign_in('example@transcribeme.com', 'example')
|
99
|
+
@recordings = @client.get_recordings
|
100
|
+
end
|
101
|
+
end
|
102
|
+
|
103
|
+
it 'returns an array of recordings' do
|
104
|
+
expect(@recordings.class.to_s).to eq "Array"
|
105
|
+
end
|
106
|
+
|
107
|
+
describe 'recordings' do
|
108
|
+
|
109
|
+
before :each do
|
110
|
+
@recording = @recordings.first
|
111
|
+
end
|
112
|
+
|
113
|
+
it 'has properties' do
|
114
|
+
expect(@recording.keys).to eq [:date_created, :duration, :id, :name, :status]
|
115
|
+
end
|
116
|
+
|
117
|
+
end
|
118
|
+
|
119
|
+
end
|
120
|
+
|
121
|
+
describe 'get an upload url' do
|
122
|
+
|
123
|
+
before :each do
|
124
|
+
VCR.use_cassette('upload_url') do
|
125
|
+
@client.initialize_session
|
126
|
+
@client.sign_in('example@transcribeme.com', 'example')
|
127
|
+
@url = @client.get_upload_url
|
128
|
+
end
|
129
|
+
end
|
130
|
+
|
131
|
+
it 'produces an upload url on Windows Azure Blob storage' do
|
132
|
+
expect(@url).to start_with "https://transcribeme.blob.core.windows.net/recordings/"
|
133
|
+
end
|
134
|
+
|
135
|
+
end
|
136
|
+
|
137
|
+
describe 'upload a file' do
|
138
|
+
|
139
|
+
|
140
|
+
it 'uploads successfully'
|
141
|
+
|
142
|
+
end
|
143
|
+
|
16
144
|
end
|
data/spec/spec_helper.rb
CHANGED
Binary file
|
@@ -0,0 +1,212 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://transcribeme-api.cloudapp.net/PortalAPI.svc?wsdl=wsdl0
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ''
|
9
|
+
headers: {}
|
10
|
+
response:
|
11
|
+
status:
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
Cache-Control:
|
16
|
+
- private
|
17
|
+
Content-Type:
|
18
|
+
- text/xml; charset=UTF-8
|
19
|
+
Server:
|
20
|
+
- Microsoft-IIS/7.0
|
21
|
+
X-Aspnet-Version:
|
22
|
+
- 4.0.30319
|
23
|
+
X-Powered-By:
|
24
|
+
- ASP.NET
|
25
|
+
Date:
|
26
|
+
- Mon, 26 Aug 2013 01:11:42 GMT
|
27
|
+
Content-Length:
|
28
|
+
- '4961'
|
29
|
+
Connection:
|
30
|
+
- Keep-Alive
|
31
|
+
body:
|
32
|
+
encoding: UTF-8
|
33
|
+
string: <?xml version="1.0" encoding="utf-8"?><wsdl:definitions targetNamespace="http://tempuri.org/"
|
34
|
+
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex"
|
35
|
+
xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:tns="http://tempuri.org/"
|
36
|
+
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
|
37
|
+
xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy"
|
38
|
+
xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
|
39
|
+
xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
|
40
|
+
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:i0="http://TranscribeMe.API.Web"
|
41
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"><wsdl:import
|
42
|
+
namespace="http://TranscribeMe.API.Web" location="http://transcribeme-api.cloudapp.net/PortalAPI.svc?wsdl"/><wsdl:types/><wsdl:binding
|
43
|
+
name="BasicHttpBinding_IPortalAPI" type="i0:IPortalAPI"><soap:binding transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operation
|
44
|
+
name="InitializeSession"><soap:operation soapAction="http://TranscribeMe.API.Web/IPortalAPI/InitializeSession"
|
45
|
+
style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body
|
46
|
+
use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="SignUp"><soap:operation
|
47
|
+
soapAction="http://TranscribeMe.API.Web/IPortalAPI/SignUp" style="document"/><wsdl:input><soap:body
|
48
|
+
use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation
|
49
|
+
name="SignIn"><soap:operation soapAction="http://TranscribeMe.API.Web/IPortalAPI/SignIn"
|
50
|
+
style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body
|
51
|
+
use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="GetUploadUrl"><soap:operation
|
52
|
+
soapAction="http://TranscribeMe.API.Web/IPortalAPI/GetUploadUrl" style="document"/><wsdl:input><soap:body
|
53
|
+
use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation
|
54
|
+
name="CommitUpload"><soap:operation soapAction="http://TranscribeMe.API.Web/IPortalAPI/CommitUpload"
|
55
|
+
style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body
|
56
|
+
use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="TranscribeRecording"><soap:operation
|
57
|
+
soapAction="http://TranscribeMe.API.Web/IPortalAPI/TranscribeRecording" style="document"/><wsdl:input><soap:body
|
58
|
+
use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation
|
59
|
+
name="GetRecordingInfo"><soap:operation soapAction="http://TranscribeMe.API.Web/IPortalAPI/GetRecordingInfo"
|
60
|
+
style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body
|
61
|
+
use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="GetCustomerRecordings"><soap:operation
|
62
|
+
soapAction="http://TranscribeMe.API.Web/IPortalAPI/GetCustomerRecordings"
|
63
|
+
style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body
|
64
|
+
use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="FinalizeSession"><soap:operation
|
65
|
+
soapAction="http://TranscribeMe.API.Web/IPortalAPI/FinalizeSession" style="document"/><wsdl:input><soap:body
|
66
|
+
use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation
|
67
|
+
name="GetTranscription"><soap:operation soapAction="http://TranscribeMe.API.Web/IPortalAPI/GetTranscription"
|
68
|
+
style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body
|
69
|
+
use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="GetTranscriptionLink"><soap:operation
|
70
|
+
soapAction="http://TranscribeMe.API.Web/IPortalAPI/GetTranscriptionLink" style="document"/><wsdl:input><soap:body
|
71
|
+
use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation
|
72
|
+
name="TranscribeUsingPromoCode"><soap:operation soapAction="http://TranscribeMe.API.Web/IPortalAPI/TranscribeUsingPromoCode"
|
73
|
+
style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body
|
74
|
+
use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="ResetPassword"><soap:operation
|
75
|
+
soapAction="http://TranscribeMe.API.Web/IPortalAPI/ResetPassword" style="document"/><wsdl:input><soap:body
|
76
|
+
use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation
|
77
|
+
name="GetCustomerInfo"><soap:operation soapAction="http://TranscribeMe.API.Web/IPortalAPI/GetCustomerInfo"
|
78
|
+
style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body
|
79
|
+
use="literal"/></wsdl:output></wsdl:operation></wsdl:binding></wsdl:definitions>
|
80
|
+
http_version:
|
81
|
+
recorded_at: Mon, 26 Aug 2013 01:11:49 GMT
|
82
|
+
- request:
|
83
|
+
method: post
|
84
|
+
uri: http://transcribeme-api.cloudapp.net/PortalAPI.svc
|
85
|
+
body:
|
86
|
+
encoding: UTF-8
|
87
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
88
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="http://TranscribeMe.API.Web"
|
89
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><wsdl:InitializeSession></wsdl:InitializeSession></env:Body></env:Envelope>
|
90
|
+
headers:
|
91
|
+
Soapaction:
|
92
|
+
- '"http://TranscribeMe.API.Web/IPortalAPI/InitializeSession"'
|
93
|
+
Content-Type:
|
94
|
+
- text/xml;charset=UTF-8
|
95
|
+
Content-Length:
|
96
|
+
- '331'
|
97
|
+
response:
|
98
|
+
status:
|
99
|
+
code: 200
|
100
|
+
message: OK
|
101
|
+
headers:
|
102
|
+
Cache-Control:
|
103
|
+
- private
|
104
|
+
Content-Type:
|
105
|
+
- text/xml; charset=utf-8
|
106
|
+
Server:
|
107
|
+
- Microsoft-IIS/7.0
|
108
|
+
X-Aspnet-Version:
|
109
|
+
- 4.0.30319
|
110
|
+
X-Powered-By:
|
111
|
+
- ASP.NET
|
112
|
+
Date:
|
113
|
+
- Mon, 26 Aug 2013 02:46:04 GMT
|
114
|
+
Content-Length:
|
115
|
+
- '272'
|
116
|
+
Connection:
|
117
|
+
- Keep-Alive
|
118
|
+
body:
|
119
|
+
encoding: UTF-8
|
120
|
+
string: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><InitializeSessionResponse
|
121
|
+
xmlns="http://TranscribeMe.API.Web"><InitializeSessionResult>2a7b3722-ddba-4a2e-a821-d4108d62faab</InitializeSessionResult></InitializeSessionResponse></s:Body></s:Envelope>
|
122
|
+
http_version:
|
123
|
+
recorded_at: Mon, 26 Aug 2013 02:46:13 GMT
|
124
|
+
- request:
|
125
|
+
method: post
|
126
|
+
uri: http://transcribeme-api.cloudapp.net/PortalAPI.svc
|
127
|
+
body:
|
128
|
+
encoding: UTF-8
|
129
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
130
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="http://TranscribeMe.API.Web"
|
131
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><wsdl:SignIn><wsdl:sessionID>2a7b3722-ddba-4a2e-a821-d4108d62faab</wsdl:sessionID><wsdl:username>example@transcribeme.com</wsdl:username><wsdl:password>example</wsdl:password></wsdl:SignIn></env:Body></env:Envelope>
|
132
|
+
headers:
|
133
|
+
Soapaction:
|
134
|
+
- '"http://TranscribeMe.API.Web/IPortalAPI/SignIn"'
|
135
|
+
Content-Type:
|
136
|
+
- text/xml;charset=UTF-8
|
137
|
+
Content-Length:
|
138
|
+
- '471'
|
139
|
+
response:
|
140
|
+
status:
|
141
|
+
code: 200
|
142
|
+
message: OK
|
143
|
+
headers:
|
144
|
+
Cache-Control:
|
145
|
+
- private
|
146
|
+
Content-Type:
|
147
|
+
- text/xml; charset=utf-8
|
148
|
+
Server:
|
149
|
+
- Microsoft-IIS/7.0
|
150
|
+
X-Aspnet-Version:
|
151
|
+
- 4.0.30319
|
152
|
+
X-Powered-By:
|
153
|
+
- ASP.NET
|
154
|
+
Date:
|
155
|
+
- Mon, 26 Aug 2013 02:46:06 GMT
|
156
|
+
Content-Length:
|
157
|
+
- '267'
|
158
|
+
Connection:
|
159
|
+
- Keep-Alive
|
160
|
+
body:
|
161
|
+
encoding: UTF-8
|
162
|
+
string: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><SignInResponse
|
163
|
+
xmlns="http://TranscribeMe.API.Web"><SignInResult>8abbbc90-357d-4135-9558-c6bd3d48cac1</SignInResult><errorCode>0</errorCode><errorMessage/></SignInResponse></s:Body></s:Envelope>
|
164
|
+
http_version:
|
165
|
+
recorded_at: Mon, 26 Aug 2013 02:46:14 GMT
|
166
|
+
- request:
|
167
|
+
method: post
|
168
|
+
uri: http://transcribeme-api.cloudapp.net/PortalAPI.svc
|
169
|
+
body:
|
170
|
+
encoding: UTF-8
|
171
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
172
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="http://TranscribeMe.API.Web"
|
173
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><wsdl:GetCustomerRecordings><wsdl:sessionID>2a7b3722-ddba-4a2e-a821-d4108d62faab</wsdl:sessionID></wsdl:GetCustomerRecordings></env:Body></env:Envelope>
|
174
|
+
headers:
|
175
|
+
Soapaction:
|
176
|
+
- '"http://TranscribeMe.API.Web/IPortalAPI/GetCustomerRecordings"'
|
177
|
+
Content-Type:
|
178
|
+
- text/xml;charset=UTF-8
|
179
|
+
Content-Length:
|
180
|
+
- '408'
|
181
|
+
response:
|
182
|
+
status:
|
183
|
+
code: 200
|
184
|
+
message: OK
|
185
|
+
headers:
|
186
|
+
Cache-Control:
|
187
|
+
- private
|
188
|
+
Content-Type:
|
189
|
+
- text/xml; charset=utf-8
|
190
|
+
Server:
|
191
|
+
- Microsoft-IIS/7.0
|
192
|
+
X-Aspnet-Version:
|
193
|
+
- 4.0.30319
|
194
|
+
X-Powered-By:
|
195
|
+
- ASP.NET
|
196
|
+
Date:
|
197
|
+
- Mon, 26 Aug 2013 02:46:18 GMT
|
198
|
+
Content-Length:
|
199
|
+
- '25176'
|
200
|
+
Connection:
|
201
|
+
- Keep-Alive
|
202
|
+
body:
|
203
|
+
encoding: UTF-8
|
204
|
+
string: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><GetCustomerRecordingsResponse
|
205
|
+
xmlns="http://TranscribeMe.API.Web"><GetCustomerRecordingsResult xmlns:a="http://schemas.datacontract.org/2004/07/TranscribeMe.API.Web"
|
206
|
+
xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><a:RecordingInfo><a:DateCreated>2013-07-24T05:04:34.69</a:DateCreated><a:Duration>1411.76</a:Duration><a:ID>d4912ce7-b0f5-4ddb-b0f0-fdfc8e608eb9</a:ID><a:Name>DW_A0126
|
207
|
+
AS part 1.wav</a:Name><a:Status>50</a:Status></a:RecordingInfo><a:RecordingInfo><a:DateCreated>2013-02-27T20:43:50.5</a:DateCreated><a:Duration>3116.86</a:Duration><a:ID>b26a304e-c1c6-42e1-b841-3c402bd33ccf</a:ID><a:Name>D1
|
208
|
+
commisioning learning history 010.3ga</a:Name><a:Status>50</a:Status></a:RecordingInfo><a:RecordingInfo><a:DateCreated>2013-08-21T01:47:03.917</a:DateCreated><a:Duration>430.75</a:Duration><a:ID>c33aeaef-efa4-4b2a-89b3-b5a8294ea844</a:ID><a:Name>3.
|
209
|
+
Share and celebrate - three speakers.mp3</a:Name><a:Status>50</a:Status></a:RecordingInfo></GetCustomerRecordingsResult><errorCode>0</errorCode><errorMessage/></GetCustomerRecordingsResponse></s:Body></s:Envelope>
|
210
|
+
http_version:
|
211
|
+
recorded_at: Mon, 26 Aug 2013 02:46:27 GMT
|
212
|
+
recorded_with: VCR 2.5.0
|
@@ -4,15 +4,9 @@ http_interactions:
|
|
4
4
|
method: get
|
5
5
|
uri: http://transcribeme-api.cloudapp.net/PortalAPI.svc?wsdl=wsdl0
|
6
6
|
body:
|
7
|
-
encoding:
|
7
|
+
encoding: UTF-8
|
8
8
|
string: ''
|
9
|
-
headers:
|
10
|
-
Accept-Encoding:
|
11
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
-
Accept:
|
13
|
-
- '*/*'
|
14
|
-
User-Agent:
|
15
|
-
- Ruby
|
9
|
+
headers: {}
|
16
10
|
response:
|
17
11
|
status:
|
18
12
|
code: 200
|
@@ -20,8 +14,6 @@ http_interactions:
|
|
20
14
|
headers:
|
21
15
|
Cache-Control:
|
22
16
|
- private
|
23
|
-
Content-Length:
|
24
|
-
- '4961'
|
25
17
|
Content-Type:
|
26
18
|
- text/xml; charset=UTF-8
|
27
19
|
Server:
|
@@ -31,7 +23,11 @@ http_interactions:
|
|
31
23
|
X-Powered-By:
|
32
24
|
- ASP.NET
|
33
25
|
Date:
|
34
|
-
- Mon,
|
26
|
+
- Mon, 26 Aug 2013 01:11:42 GMT
|
27
|
+
Content-Length:
|
28
|
+
- '4961'
|
29
|
+
Connection:
|
30
|
+
- Keep-Alive
|
35
31
|
body:
|
36
32
|
encoding: UTF-8
|
37
33
|
string: <?xml version="1.0" encoding="utf-8"?><wsdl:definitions targetNamespace="http://tempuri.org/"
|
@@ -82,27 +78,22 @@ http_interactions:
|
|
82
78
|
style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body
|
83
79
|
use="literal"/></wsdl:output></wsdl:operation></wsdl:binding></wsdl:definitions>
|
84
80
|
http_version:
|
85
|
-
recorded_at: Mon,
|
81
|
+
recorded_at: Mon, 26 Aug 2013 01:11:49 GMT
|
86
82
|
- request:
|
87
83
|
method: post
|
88
84
|
uri: http://transcribeme-api.cloudapp.net/PortalAPI.svc
|
89
85
|
body:
|
90
86
|
encoding: UTF-8
|
91
|
-
string:
|
92
|
-
xmlns:
|
87
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
88
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="http://TranscribeMe.API.Web"
|
89
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><wsdl:InitializeSession></wsdl:InitializeSession></env:Body></env:Envelope>
|
93
90
|
headers:
|
94
91
|
Soapaction:
|
95
92
|
- '"http://TranscribeMe.API.Web/IPortalAPI/InitializeSession"'
|
96
93
|
Content-Type:
|
97
94
|
- text/xml;charset=UTF-8
|
98
95
|
Content-Length:
|
99
|
-
- '
|
100
|
-
Accept-Encoding:
|
101
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
102
|
-
Accept:
|
103
|
-
- '*/*'
|
104
|
-
User-Agent:
|
105
|
-
- Ruby
|
96
|
+
- '331'
|
106
97
|
response:
|
107
98
|
status:
|
108
99
|
code: 200
|
@@ -110,8 +101,6 @@ http_interactions:
|
|
110
101
|
headers:
|
111
102
|
Cache-Control:
|
112
103
|
- private
|
113
|
-
Content-Length:
|
114
|
-
- '272'
|
115
104
|
Content-Type:
|
116
105
|
- text/xml; charset=utf-8
|
117
106
|
Server:
|
@@ -121,11 +110,15 @@ http_interactions:
|
|
121
110
|
X-Powered-By:
|
122
111
|
- ASP.NET
|
123
112
|
Date:
|
124
|
-
- Mon,
|
113
|
+
- Mon, 26 Aug 2013 01:11:43 GMT
|
114
|
+
Content-Length:
|
115
|
+
- '272'
|
116
|
+
Connection:
|
117
|
+
- Keep-Alive
|
125
118
|
body:
|
126
119
|
encoding: UTF-8
|
127
120
|
string: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><InitializeSessionResponse
|
128
|
-
xmlns="http://TranscribeMe.API.Web"><InitializeSessionResult>
|
121
|
+
xmlns="http://TranscribeMe.API.Web"><InitializeSessionResult>0aaef84b-d303-493c-83c4-c6b69b7ea667</InitializeSessionResult></InitializeSessionResponse></s:Body></s:Envelope>
|
129
122
|
http_version:
|
130
|
-
recorded_at: Mon,
|
123
|
+
recorded_at: Mon, 26 Aug 2013 01:11:50 GMT
|
131
124
|
recorded_with: VCR 2.5.0
|