tomato_power 0.0.5 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/README.md +22 -13
- data/lib/tomato_power/api/api.rb +30 -66
- data/lib/tomato_power/api/api_service.rb +115 -0
- data/lib/tomato_power/api/tomato_methods.rb +17 -16
- data/lib/tomato_power/client.rb +13 -0
- data/lib/tomato_power/helpers/helpers.rb +2 -0
- data/lib/tomato_power/helpers/parsers.rb +26 -1
- data/lib/tomato_power/movie/actor.rb +1 -0
- data/lib/tomato_power/movie/clip.rb +1 -0
- data/lib/tomato_power/movie/movie.rb +20 -6
- data/lib/tomato_power/movie/poster.rb +14 -0
- data/lib/tomato_power/movie/review.rb +1 -0
- data/lib/tomato_power/version.rb +1 -1
- data/lib/tomato_power.rb +7 -0
- data/spec/spec_helper.rb +1 -1
- data/spec/support/sample_data/sample_posters +6 -0
- data/spec/unit_specs/api/api_services_spec.rb +39 -0
- data/spec/unit_specs/{api_spec.rb → api/api_spec.rb} +3 -27
- data/spec/unit_specs/helpers/helpers.rb +53 -0
- data/spec/unit_specs/{parsers_spec.rb → helpers/parsers_spec.rb} +12 -12
- data/spec/unit_specs/helpers_spec.rb +0 -2
- data/spec/unit_specs/{actor_spec.rb → movie/actor_spec.rb} +1 -1
- data/spec/unit_specs/{client_spec.rb → movie/client_spec.rb} +1 -1
- data/spec/unit_specs/{clip_spec.rb → movie/clip_spec.rb} +1 -1
- data/spec/unit_specs/{movie_spec.rb → movie/movie_spec.rb} +21 -6
- data/spec/unit_specs/movie/poster_spec.rb +17 -0
- data/spec/unit_specs/{review_spec.rb → movie/review_spec.rb} +2 -2
- metadata +26 -74
- data/spec/support/vcr/TomatoPower_API/API_Methods/valid_methods/should_create_methods.yml +0 -598
- data/spec/support/vcr/TomatoPower_API/API_options_validation/valid_options/should_consider_0_options_valid.yml +0 -306
- data/spec/support/vcr/TomatoPower_API/API_options_validation/valid_options/should_not_raise_error.yml +0 -101
- data/spec/support/vcr/TomatoPower_API/List_request/searching_by_title/should_return_a_list_of_movie_objects.yml +0 -101
- data/spec/support/vcr/TomatoPower_API/List_request/searching_by_title/should_url_encode_search_string_before_sending.yml +0 -102
- data/spec/support/vcr/TomatoPower_API/List_request/should_return_a_list_of_movie_objects.yml +0 -101
- data/spec/support/vcr/TomatoPower_API/List_request/should_url_encode_search_string_before_sending.yml +0 -102
- data/spec/support/vcr/TomatoPower_API/Movie_request/cast/should_return_cast_of_movie.yml +0 -356
- data/spec/support/vcr/TomatoPower_API/Movie_request/clips/should_return_clips_of_movie.yml +0 -638
- data/spec/support/vcr/TomatoPower_API/Movie_request/no_results/should_return_error_string_if_no_results_are_found.yml +0 -49
- data/spec/support/vcr/TomatoPower_API/Movie_request/reviews/should_return_reviews.yml +0 -271
- data/spec/support/vcr/TomatoPower_API/Movie_request/should_return_single_movie.yml +0 -161
- data/spec/support/vcr/TomatoPower_API/Movie_request/similar/should_return_similar_movies.yml +0 -121
- data/spec/support/vcr/TomatoPower_Client/box_office_movies/should_return_list_of_movies.yml +0 -396
- data/spec/support/vcr/TomatoPower_Client/current_release_dvds/should_return_list_of_movies.yml +0 -427
- data/spec/support/vcr/TomatoPower_Client/in_theaters_movies/should_return_list_of_movies.yml +0 -380
- data/spec/support/vcr/TomatoPower_Client/new_release_dvds/should_return_list_of_movies.yml +0 -392
- data/spec/support/vcr/TomatoPower_Client/opening_movies/should_return_list_of_movies.yml +0 -213
- data/spec/support/vcr/TomatoPower_Client/search_by_id/should_return_list_of_movies_by_id.yml +0 -88
- data/spec/support/vcr/TomatoPower_Client/search_by_title/should_return_list_of_movies_by_title.yml +0 -89
- data/spec/support/vcr/TomatoPower_Client/top_rentals/should_return_list_of_movies.yml +0 -409
- data/spec/support/vcr/TomatoPower_Client/upcoming_dvds/should_return_list_of_movies.yml +0 -359
- data/spec/support/vcr/TomatoPower_Client/upcoming_movies/should_return_list_of_movies.yml +0 -341
- data/spec/support/vcr/TomatoPower_Movie/clips/should_return_clips.yml +0 -250
- data/spec/support/vcr/TomatoPower_Movie/full_cast/should_return_cast.yml +0 -279
- data/spec/support/vcr/TomatoPower_Movie/reviews/should_return_reviews.yml +0 -205
- data/spec/support/vcr/TomatoPower_Movie/similar/should_return_similar_movies.yml +0 -231
- data/spec/support/vcr/TomatoPower_Movie/similar/should_return_similars.yml +0 -81
- data/spec/unit_specs/helpers.rb +0 -50
@@ -1,250 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: http://api.rottentomatoes.com/api/public/v1.0/movies/771189410/clips.json?apikey=<API_KEY>
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- ! '*/*'
|
12
|
-
User-Agent:
|
13
|
-
- Ruby
|
14
|
-
response:
|
15
|
-
status:
|
16
|
-
code: 200
|
17
|
-
message: OK
|
18
|
-
headers:
|
19
|
-
Cache-Control:
|
20
|
-
- no-store, no-cache, must-revalidate, post-check=0, pre-check=0
|
21
|
-
Content-Language:
|
22
|
-
- en-US
|
23
|
-
Content-Type:
|
24
|
-
- text/javascript;charset=ISO-8859-1
|
25
|
-
Date:
|
26
|
-
- Thu, 21 Feb 2013 15:41:38 GMT
|
27
|
-
Expires:
|
28
|
-
- Sat, 6 May 1995 12:00:00 GMT
|
29
|
-
Pragma:
|
30
|
-
- no-cache
|
31
|
-
Server:
|
32
|
-
- Mashery Proxy
|
33
|
-
Set-Cookie:
|
34
|
-
- JSESSIONID=129128237FA6F801211D4CFDC0E196ED.localhost; Path=/
|
35
|
-
- ServerID=1336; Path=/
|
36
|
-
Vary:
|
37
|
-
- User-Agent,Accept-Encoding
|
38
|
-
X-Mashery-Responder:
|
39
|
-
- prod-j-worker-us-east-1b-16.mashery.com
|
40
|
-
Content-Length:
|
41
|
-
- '4645'
|
42
|
-
Connection:
|
43
|
-
- keep-alive
|
44
|
-
body:
|
45
|
-
encoding: US-ASCII
|
46
|
-
string: ! '
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
{"clips":[{"title":"Jack The Giant Slayer","duration":"128","thumbnail":"http://content.internetvideoarchive.com/content/photos/6993/455091_060.jpg","links":{"alternate":"http://www.rottentomatoes.com/m/jack_the_giant_slayer/trailers/11161153"}},{"title":"Jack
|
76
|
-
The Giant Slayer (Uk)","duration":"94","thumbnail":"http://content.internetvideoarchive.com/content/photos/7566/31669_048.jpg","links":{"alternate":"http://www.rottentomatoes.com/m/jack_the_giant_slayer/trailers/11161217"}},{"title":"Jack
|
77
|
-
The Giant Slayer: Bryan Singer On Using Sumi-cam","duration":"74","thumbnail":"http://content.internetvideoarchive.com/content/photos/8233/118492_005.jpg","links":{"alternate":"http://www.rottentomatoes.com/m/jack_the_giant_slayer/trailers/11176077"}},{"title":"Jack
|
78
|
-
The Giant Slayer: Eddie Marsan On His Character","duration":"65","thumbnail":"http://content.internetvideoarchive.com/content/photos/8233/548428_006.jpg","links":{"alternate":"http://www.rottentomatoes.com/m/jack_the_giant_slayer/trailers/11176078"}},{"title":"Jack
|
79
|
-
The Giant Slayer: Ewan Mcgregor On His Character","duration":"35","thumbnail":"http://content.internetvideoarchive.com/content/photos/8233/763022_014.jpg","links":{"alternate":"http://www.rottentomatoes.com/m/jack_the_giant_slayer/trailers/11176079"}},{"title":"Jack
|
80
|
-
The Giant Slayer: Bill Nighy On Playing The Role Of A Giant","duration":"64","thumbnail":"http://content.internetvideoarchive.com/content/photos/8233/209510_020.jpg","links":{"alternate":"http://www.rottentomatoes.com/m/jack_the_giant_slayer/trailers/11176080"}},{"title":"Jack
|
81
|
-
The Giant Slayer: Ian Mcshane On Giants In The Film","duration":"16","thumbnail":"http://content.internetvideoarchive.com/content/photos/8233/561642_002.jpg","links":{"alternate":"http://www.rottentomatoes.com/m/jack_the_giant_slayer/trailers/11176081"}},{"title":"Jack
|
82
|
-
The Giant Slayer: Stanley Tucci On His Character","duration":"25","thumbnail":"http://content.internetvideoarchive.com/content/photos/8233/762171_009.jpg","links":{"alternate":"http://www.rottentomatoes.com/m/jack_the_giant_slayer/trailers/11176082"}},{"title":"Jack
|
83
|
-
The Giant Slayer: Eleanor Tomlinson On The Adaptation Of The Story","duration":"46","thumbnail":"http://content.internetvideoarchive.com/content/photos/8233/403103_005.jpg","links":{"alternate":"http://www.rottentomatoes.com/m/jack_the_giant_slayer/trailers/11176083"}},{"title":"Jack
|
84
|
-
The Giant Slayer: Nicholas Hoult On His Character","duration":"89","thumbnail":"http://content.internetvideoarchive.com/content/photos/8233/564509_015.jpg","links":{"alternate":"http://www.rottentomatoes.com/m/jack_the_giant_slayer/trailers/11176084"}},{"title":"Jack
|
85
|
-
The Giant Slayer: Do These Giants Have Any Weaknesses?","duration":"59","thumbnail":"http://content.internetvideoarchive.com/content/photos/8233/578054_008.jpg","links":{"alternate":"http://www.rottentomatoes.com/m/jack_the_giant_slayer/trailers/11176085"}},{"title":"Jack
|
86
|
-
The Giant Slayer: Run!","duration":"57","thumbnail":"http://content.internetvideoarchive.com/content/photos/8233/178016_027.jpg","links":{"alternate":"http://www.rottentomatoes.com/m/jack_the_giant_slayer/trailers/11176086"}},{"title":"Jack
|
87
|
-
The Giant Slayer: Here Comes The Thunder","duration":"75","thumbnail":"http://content.internetvideoarchive.com/content/photos/8233/712750_009.jpg","links":{"alternate":"http://www.rottentomatoes.com/m/jack_the_giant_slayer/trailers/11176087"}},{"title":"Jack
|
88
|
-
The Giant Slayer: I Had This","duration":"69","thumbnail":"http://content.internetvideoarchive.com/content/photos/8233/312795_026.jpg","links":{"alternate":"http://www.rottentomatoes.com/m/jack_the_giant_slayer/trailers/11176088"}},{"title":"Jack
|
89
|
-
The Giant Slayer: There''s Someone Behind Me Isn''t There?","duration":"65","thumbnail":"http://content.internetvideoarchive.com/content/photos/8233/959249_025.jpg","links":{"alternate":"http://www.rottentomatoes.com/m/jack_the_giant_slayer/trailers/11176089"}},{"title":"Jack
|
90
|
-
The Giant Slayer (Trailer 1)","duration":"100","thumbnail":"http://content.internetvideoarchive.com/content/photos/6993/455091_060_1.jpg","links":{"alternate":"http://www.rottentomatoes.com/m/jack_the_giant_slayer/trailers/11175869"}},{"title":"Jack
|
91
|
-
The Giant Slayer Trailer","duration":"147","thumbnail":"","links":{"alternate":"http://www.rottentomatoes.com/m/jack_the_giant_slayer/trailers/11174140"}}],"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/771189410/clips.json","alternate":"http://www.rottentomatoes.com/m/jack_the_giant_slayer/trailers/","rel":"http://api.rottentomatoes.com/api/public/v1.0/movies/771189410.json"}}
|
92
|
-
|
93
|
-
'
|
94
|
-
http_version:
|
95
|
-
recorded_at: Thu, 21 Feb 2013 15:41:38 GMT
|
96
|
-
- request:
|
97
|
-
method: get
|
98
|
-
uri: http://api.rottentomatoes.com/api/public/v1.0/movies/770669920/clips.json?apikey=<API_KEY>
|
99
|
-
body:
|
100
|
-
encoding: US-ASCII
|
101
|
-
string: ''
|
102
|
-
headers:
|
103
|
-
Accept:
|
104
|
-
- ! '*/*'
|
105
|
-
User-Agent:
|
106
|
-
- Ruby
|
107
|
-
response:
|
108
|
-
status:
|
109
|
-
code: 200
|
110
|
-
message: OK
|
111
|
-
headers:
|
112
|
-
Cache-Control:
|
113
|
-
- no-store, no-cache, must-revalidate, post-check=0, pre-check=0
|
114
|
-
Content-Language:
|
115
|
-
- en-US
|
116
|
-
Content-Type:
|
117
|
-
- text/javascript;charset=ISO-8859-1
|
118
|
-
Date:
|
119
|
-
- Thu, 21 Feb 2013 16:51:00 GMT
|
120
|
-
Expires:
|
121
|
-
- Sat, 6 May 1995 12:00:00 GMT
|
122
|
-
Pragma:
|
123
|
-
- no-cache
|
124
|
-
Server:
|
125
|
-
- Mashery Proxy
|
126
|
-
Set-Cookie:
|
127
|
-
- JSESSIONID=F9A54E88F885D782DBF91A153DCF95D9.localhost; Path=/
|
128
|
-
- ServerID=1335; Path=/
|
129
|
-
Vary:
|
130
|
-
- User-Agent,Accept-Encoding
|
131
|
-
X-Mashery-Responder:
|
132
|
-
- prod-j-worker-us-east-1b-16.mashery.com
|
133
|
-
Content-Length:
|
134
|
-
- '281'
|
135
|
-
Connection:
|
136
|
-
- keep-alive
|
137
|
-
body:
|
138
|
-
encoding: US-ASCII
|
139
|
-
string: ! '
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
{"clips":[],"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/770669920/clips.json","alternate":"http://www.rottentomatoes.com/m/deadly_mission/trailers/","rel":"http://api.rottentomatoes.com/api/public/v1.0/movies/770669920.json"}}
|
169
|
-
|
170
|
-
'
|
171
|
-
http_version:
|
172
|
-
recorded_at: Thu, 21 Feb 2013 16:51:00 GMT
|
173
|
-
- request:
|
174
|
-
method: get
|
175
|
-
uri: http://api.rottentomatoes.com/api/public/v1.0/movies/155654854/clips.json?apikey=<API_KEY>
|
176
|
-
body:
|
177
|
-
encoding: US-ASCII
|
178
|
-
string: ''
|
179
|
-
headers:
|
180
|
-
Accept:
|
181
|
-
- ! '*/*'
|
182
|
-
User-Agent:
|
183
|
-
- Ruby
|
184
|
-
response:
|
185
|
-
status:
|
186
|
-
code: 200
|
187
|
-
message: OK
|
188
|
-
headers:
|
189
|
-
Cache-Control:
|
190
|
-
- no-store, no-cache, must-revalidate, post-check=0, pre-check=0
|
191
|
-
Content-Language:
|
192
|
-
- en-US
|
193
|
-
Content-Type:
|
194
|
-
- text/javascript;charset=ISO-8859-1
|
195
|
-
Date:
|
196
|
-
- Thu, 21 Feb 2013 16:52:19 GMT
|
197
|
-
Expires:
|
198
|
-
- Sat, 6 May 1995 12:00:00 GMT
|
199
|
-
Pragma:
|
200
|
-
- no-cache
|
201
|
-
Server:
|
202
|
-
- Mashery Proxy
|
203
|
-
Set-Cookie:
|
204
|
-
- JSESSIONID=A6A86CB8737C25A5EA3D91A072A873CF.localhost; Path=/
|
205
|
-
- ServerID=1335; Path=/
|
206
|
-
Vary:
|
207
|
-
- User-Agent,Accept-Encoding
|
208
|
-
X-Mashery-Responder:
|
209
|
-
- prod-j-worker-us-east-1b-16.mashery.com
|
210
|
-
Content-Length:
|
211
|
-
- '524'
|
212
|
-
Connection:
|
213
|
-
- keep-alive
|
214
|
-
body:
|
215
|
-
encoding: US-ASCII
|
216
|
-
string: ! '
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
{"clips":[{"title":"Mission: Impossible III","duration":"92","thumbnail":"http://content.internetvideoarchive.com/content/photos/860/036139_317345.jpg","links":{"alternate":"http://www.rottentomatoes.com/m/mission_impossible_3/trailers/10891918"}}],"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/155654854/clips.json","alternate":"http://www.rottentomatoes.com/m/mission_impossible_3/trailers/","rel":"http://api.rottentomatoes.com/api/public/v1.0/movies/155654854.json"}}
|
246
|
-
|
247
|
-
'
|
248
|
-
http_version:
|
249
|
-
recorded_at: Thu, 21 Feb 2013 16:52:19 GMT
|
250
|
-
recorded_with: VCR 2.4.0
|
@@ -1,279 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: http://api.rottentomatoes.com/api/public/v1.0/movies/771189410/cast.json?apikey=<API_KEY>
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- ! '*/*'
|
12
|
-
User-Agent:
|
13
|
-
- Ruby
|
14
|
-
response:
|
15
|
-
status:
|
16
|
-
code: 200
|
17
|
-
message: OK
|
18
|
-
headers:
|
19
|
-
Cache-Control:
|
20
|
-
- no-store, no-cache, must-revalidate, post-check=0, pre-check=0
|
21
|
-
Content-Language:
|
22
|
-
- en-US
|
23
|
-
Content-Type:
|
24
|
-
- text/javascript;charset=ISO-8859-1
|
25
|
-
Date:
|
26
|
-
- Thu, 21 Feb 2013 15:39:02 GMT
|
27
|
-
Expires:
|
28
|
-
- Sat, 6 May 1995 12:00:00 GMT
|
29
|
-
Pragma:
|
30
|
-
- no-cache
|
31
|
-
Server:
|
32
|
-
- Mashery Proxy
|
33
|
-
Set-Cookie:
|
34
|
-
- JSESSIONID=8424AD0DBFBADD305CE2521B7F24A267.localhost; Path=/
|
35
|
-
- ServerID=1335; Path=/
|
36
|
-
Vary:
|
37
|
-
- User-Agent,Accept-Encoding
|
38
|
-
X-Mashery-Responder:
|
39
|
-
- prod-j-worker-us-east-1d-20.mashery.com
|
40
|
-
Content-Length:
|
41
|
-
- '643'
|
42
|
-
Connection:
|
43
|
-
- keep-alive
|
44
|
-
body:
|
45
|
-
encoding: US-ASCII
|
46
|
-
string: ! '
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
{"cast":[{"id":"162654938","name":"Nicholas Hoult","characters":["Jack"]},{"id":"770707131","name":"Eleanor
|
76
|
-
Tomlinson","characters":[]},{"id":"162661152","name":"Stanley Tucci","characters":["Roderick"]},{"id":"326396263","name":"Ian
|
77
|
-
McShane","characters":["King Brahmwell"]},{"id":"162652300","name":"Bill Nighy","characters":["Fallon"]},{"id":"162652152","name":"Ewan
|
78
|
-
McGregor","characters":["Elmont"]},{"id":"770696805","name":"John Kassir","characters":["Fallon"]},{"id":"162659692","name":"Warwick
|
79
|
-
Davis","characters":[]}],"links":{"rel":"http://api.rottentomatoes.com/api/public/v1.0/movies/771189410.json"}}
|
80
|
-
|
81
|
-
'
|
82
|
-
http_version:
|
83
|
-
recorded_at: Thu, 21 Feb 2013 15:39:02 GMT
|
84
|
-
- request:
|
85
|
-
method: get
|
86
|
-
uri: http://api.rottentomatoes.com/api/public/v1.0/movies/770669920/cast.json?apikey=<API_KEY>
|
87
|
-
body:
|
88
|
-
encoding: US-ASCII
|
89
|
-
string: ''
|
90
|
-
headers:
|
91
|
-
Accept:
|
92
|
-
- ! '*/*'
|
93
|
-
User-Agent:
|
94
|
-
- Ruby
|
95
|
-
response:
|
96
|
-
status:
|
97
|
-
code: 200
|
98
|
-
message: OK
|
99
|
-
headers:
|
100
|
-
Cache-Control:
|
101
|
-
- no-store, no-cache, must-revalidate, post-check=0, pre-check=0
|
102
|
-
Content-Language:
|
103
|
-
- en-US
|
104
|
-
Content-Type:
|
105
|
-
- text/javascript;charset=ISO-8859-1
|
106
|
-
Date:
|
107
|
-
- Thu, 21 Feb 2013 16:51:00 GMT
|
108
|
-
Expires:
|
109
|
-
- Sat, 6 May 1995 12:00:00 GMT
|
110
|
-
Pragma:
|
111
|
-
- no-cache
|
112
|
-
Server:
|
113
|
-
- Mashery Proxy
|
114
|
-
Set-Cookie:
|
115
|
-
- JSESSIONID=C6BFA3AE63CF4A9A156D9552BF56DD48.localhost; Path=/
|
116
|
-
- ServerID=1335; Path=/
|
117
|
-
Vary:
|
118
|
-
- User-Agent,Accept-Encoding
|
119
|
-
X-Mashery-Responder:
|
120
|
-
- prod-j-worker-us-east-1b-16.mashery.com
|
121
|
-
Content-Length:
|
122
|
-
- '740'
|
123
|
-
Connection:
|
124
|
-
- keep-alive
|
125
|
-
body:
|
126
|
-
encoding: US-ASCII
|
127
|
-
string: ! '
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
{"cast":[{"id":"162678026","name":"Bo Svenson","characters":["Lt. Yeager"]},{"id":"162716295","name":"Fred
|
157
|
-
Williamson","characters":["Fred Canfield"]},{"id":"770670413","name":"Peter
|
158
|
-
Hooten","characters":["Tony"]},{"id":"770735213","name":"Michael Pergolani","characters":["Nick"]},{"id":"770804220","name":"Jackie
|
159
|
-
Basehart","characters":["Berle"]},{"id":"770770596","name":"Raimund Harmstorf","characters":["Otto"]},{"id":"617102755","name":"Michel
|
160
|
-
Constantin","characters":["Veronique"]},{"id":"770686611","name":"Debra Berger","characters":["Nicole"]},{"id":"162660518","name":"Ian
|
161
|
-
Bannen","characters":["Col. Buckner"]}],"links":{"rel":"http://api.rottentomatoes.com/api/public/v1.0/movies/770669920.json"}}
|
162
|
-
|
163
|
-
'
|
164
|
-
http_version:
|
165
|
-
recorded_at: Thu, 21 Feb 2013 16:51:00 GMT
|
166
|
-
- request:
|
167
|
-
method: get
|
168
|
-
uri: http://api.rottentomatoes.com/api/public/v1.0/movies/155654854/cast.json?apikey=<API_KEY>
|
169
|
-
body:
|
170
|
-
encoding: US-ASCII
|
171
|
-
string: ''
|
172
|
-
headers:
|
173
|
-
Accept:
|
174
|
-
- ! '*/*'
|
175
|
-
User-Agent:
|
176
|
-
- Ruby
|
177
|
-
response:
|
178
|
-
status:
|
179
|
-
code: 200
|
180
|
-
message: OK
|
181
|
-
headers:
|
182
|
-
Cache-Control:
|
183
|
-
- no-store, no-cache, must-revalidate, post-check=0, pre-check=0
|
184
|
-
Content-Language:
|
185
|
-
- en-US
|
186
|
-
Content-Type:
|
187
|
-
- text/javascript;charset=ISO-8859-1
|
188
|
-
Date:
|
189
|
-
- Thu, 21 Feb 2013 16:52:18 GMT
|
190
|
-
Expires:
|
191
|
-
- Sat, 6 May 1995 12:00:00 GMT
|
192
|
-
Pragma:
|
193
|
-
- no-cache
|
194
|
-
Server:
|
195
|
-
- Mashery Proxy
|
196
|
-
Set-Cookie:
|
197
|
-
- JSESSIONID=5744BEC0119381DD2B603448E75876EF.localhost; Path=/
|
198
|
-
- ServerID=1335; Path=/
|
199
|
-
Vary:
|
200
|
-
- User-Agent,Accept-Encoding
|
201
|
-
X-Mashery-Responder:
|
202
|
-
- prod-j-worker-us-east-1b-16.mashery.com
|
203
|
-
Content-Length:
|
204
|
-
- '3783'
|
205
|
-
Connection:
|
206
|
-
- keep-alive
|
207
|
-
body:
|
208
|
-
encoding: US-ASCII
|
209
|
-
string: ! '
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
{"cast":[{"id":"162652763","name":"Tom Cruise","characters":["Ethan Hunt"]},{"id":"162654287","name":"Philip
|
239
|
-
Seymour Hoffman","characters":["Owen Davian"]},{"id":"162693220","name":"Ving
|
240
|
-
Rhames","characters":["Luther Strickell"]},{"id":"162660766","name":"Billy
|
241
|
-
Crudup","characters":["Musgrave"]},{"id":"162654801","name":"Michelle Monaghan","characters":["Julia"]},{"id":"162662253","name":"Jonathan
|
242
|
-
Rhys Meyers","characters":["Declan"]},{"id":"162685092","name":"Keri Russell","characters":["Lindsey
|
243
|
-
Farris"]},{"id":"397331134","name":"Maggie Q","characters":["Zhen"]},{"id":"162669090","name":"Laurence
|
244
|
-
Fishburne","characters":["Theodore Brassel"]},{"id":"162684057","name":"Simon
|
245
|
-
Pegg","characters":["Benji"]},{"id":"326392524","name":"Eddie Marsan","characters":["Brownway"]},{"id":"512428497","name":"Bahar
|
246
|
-
Soomekh","characters":["Davian''s translator"]},{"id":"770738695","name":"Jeff
|
247
|
-
Chase","characters":["Davian''s bodyguard"]},{"id":"770818761","name":"Michael
|
248
|
-
Berry Jr.","characters":["Julia''s Kidnapper"]},{"id":"770703227","name":"Carla
|
249
|
-
Gallo","characters":["Beth"]},{"id":"646866920","name":"Bellamy Young","characters":["Rachael"]},{"id":"770918528","name":"Paul
|
250
|
-
Keeley","characters":["Ken"]},{"id":"770747990","name":"Jane Daly","characters":["Julia''s
|
251
|
-
mother"]},{"id":"364611825","name":"Greg Grunberg","characters":["Kevin"]},{"id":"770782724","name":"Sabra
|
252
|
-
Williams","characters":["Annie"]},{"id":"770733726","name":"Rose Rollins","characters":["Ellie"]},{"id":"770695187","name":"Sasha
|
253
|
-
Alexander","characters":["Melissa"]},{"id":"349219082","name":"Tracy Middendorf","characters":["Ashley"]},{"id":"410145522","name":"Aaron
|
254
|
-
Paul","characters":["Rick"]},{"id":"770775611","name":"Kathryn Fiore","characters":["Party
|
255
|
-
goer"]},{"id":"771027632","name":"Colleen Crozier","characters":["Party goer"]},{"id":"770677077","name":"Sean
|
256
|
-
O''Bryan","characters":["Party goer"]},{"id":"450556548","name":"Bruce French","characters":["Minister"]},{"id":"770849248","name":"Ellen
|
257
|
-
Bry","characters":["Lindsey''s mother"]},{"id":"770942754","name":"Patrick
|
258
|
-
Pankhurst","characters":["Lindsey''s father"]},{"id":"770734685","name":"Tony
|
259
|
-
Guma","characters":["Jim"]},{"id":"770679851","name":"James Shanklin","characters":["Hospital
|
260
|
-
chaplain"]},{"id":"770725975","name":"Anne Betancourt","characters":["Nurse
|
261
|
-
Sally"]},{"id":"771027633","name":"Antonietta De Lorenzo","characters":["Roadblock
|
262
|
-
driver"]},{"id":"771027634","name":"Andrea Sartirettum","characters":["Roadblock
|
263
|
-
driver"]},{"id":"771027635","name":"Antonio Del Prete","characters":["Vatican
|
264
|
-
video room guard"]},{"id":"260682616","name":"Paolo Bonacelli","characters":["Monsignore"]},{"id":"770898338","name":"David
|
265
|
-
Waters","characters":["IMF officer"]},{"id":"770888086","name":"Michael Kehoe","characters":["Hosptial
|
266
|
-
employee"]},{"id":"770905618","name":"Tim Omundson","characters":["IMF agent"]},{"id":"771027636","name":"William
|
267
|
-
Francis McGuire","characters":["IMF head of security"]},{"id":"770782033","name":"Michelle
|
268
|
-
Arthur","characters":["Airline worker"]},{"id":"770694329","name":"Barney
|
269
|
-
Cheng","characters":["Janitor"]},{"id":"162663863","name":"Eileen Atkins","characters":[]},{"id":"162652857","name":"Dougray
|
270
|
-
Scott","characters":[]},{"id":"162708663","name":"Thandie Newton","characters":[]},{"id":"162700157","name":"Justin
|
271
|
-
Kirk","characters":[]},{"id":"312226135","name":"Kelly Brook","characters":[]},{"id":"162652977","name":"Richard
|
272
|
-
Roxburgh","characters":[]},{"id":"162674372","name":"John Polson","characters":[]},{"id":"162652243","name":"Brendan
|
273
|
-
Gleeson","characters":[]},{"id":"162654597","name":"Rade Serbedzija","characters":[]},{"id":"585857257","name":"William
|
274
|
-
Mapother","characters":[]}],"links":{"rel":"http://api.rottentomatoes.com/api/public/v1.0/movies/155654854.json"}}
|
275
|
-
|
276
|
-
'
|
277
|
-
http_version:
|
278
|
-
recorded_at: Thu, 21 Feb 2013 16:52:18 GMT
|
279
|
-
recorded_with: VCR 2.4.0
|