red5 0.0.2 → 0.0.3

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 (59) hide show
  1. checksums.yaml +4 -4
  2. data/.rspec +1 -0
  3. data/README.md +55 -1
  4. data/Rakefile +3 -1
  5. data/lib/red_5.rb +19 -0
  6. data/lib/red_5/exceptions/red_5_exception.rb +9 -0
  7. data/lib/red_5/helpers.rb +8 -0
  8. data/lib/red_5/models/entities.rb +54 -0
  9. data/lib/{red5 → red_5/models}/films.rb +1 -1
  10. data/lib/{red5 → red_5/models}/people.rb +1 -1
  11. data/lib/{red5 → red_5/models}/planets.rb +1 -1
  12. data/lib/{red5 → red_5/models}/species.rb +1 -1
  13. data/lib/{red5 → red_5/models}/starships.rb +1 -1
  14. data/lib/{red5 → red_5/models}/vehicles.rb +1 -1
  15. data/lib/{red5 → red_5}/root.rb +1 -1
  16. data/lib/red_5/version.rb +3 -0
  17. data/red5.gemspec +4 -1
  18. data/spec/cassettes/Failure/404s/raises_an_exception_on_a_ludicrous_request.yml +96 -0
  19. data/spec/cassettes/Failure/404s/raises_an_exception_on_a_non-existent_thing.yml +96 -0
  20. data/spec/cassettes/Failure/Non-existent_attributes/raises_an_exception_on_a_bogus_lookup.yml +101 -0
  21. data/spec/cassettes/Red5_Films/finds_a_particular_film.yml +111 -0
  22. data/spec/cassettes/Red5_Films/has_OpenStruct-type_lookups.yml +111 -0
  23. data/spec/cassettes/Red5_Films/returns_a_film.yml +111 -0
  24. data/spec/cassettes/Red5_People/fetches_the_species_for_a_person.yml +155 -0
  25. data/spec/cassettes/{Red_5_People/should_find_a_person.yml → Red5_People/finds_a_particular_person.yml} +13 -13
  26. data/spec/cassettes/Red5_People/has_an_id.yml +101 -0
  27. data/spec/cassettes/Red5_People/returns_a_person.yml +101 -0
  28. data/spec/cassettes/{Red_5_Planets/should_find_a_planet.yml → Red5_Planets/finds_a_planet.yml} +18 -18
  29. data/spec/cassettes/Red5_Species/fetches_the_homeworld_for_a_species.yml +157 -0
  30. data/spec/cassettes/Red5_Species/finds_a_homeworld_for_a_species.yml +101 -0
  31. data/spec/cassettes/Red5_Species/finds_a_species.yml +101 -0
  32. data/spec/cassettes/Red5_Starships/Failure/raises_an_exception_on_a_ludicrous_request.yml +96 -0
  33. data/spec/cassettes/Red5_Starships/Failure/raises_an_exception_on_a_non-existent_thing.yml +96 -0
  34. data/spec/cassettes/Red5_Starships/finds_a_starship.yml +102 -0
  35. data/spec/cassettes/Red5_Vehicles/finds_a_vehicle.yml +102 -0
  36. data/spec/cassettes/Red_5_Films/finds_a_particular_film.yml +111 -0
  37. data/spec/cassettes/Red_5_Films/returns_a_film.yml +111 -0
  38. data/spec/cassettes/Red_5_People/fetches_the_species_for_a_person.yml +155 -0
  39. data/spec/cassettes/Red_5_People/finds_a_particular_person.yml +101 -0
  40. data/spec/cassettes/Red_5_People/gets_the_species_for_a_person.yml +252 -0
  41. data/spec/cassettes/Red_5_People/has_an_id.yml +101 -0
  42. data/spec/cassettes/Red_5_People/returns_a_person.yml +101 -0
  43. data/spec/cassettes/Red_5_Species/fetches_the_homeworld_for_a_species.yml +157 -0
  44. data/spec/cassettes/Red_5_Species/finds_a_homeworld_for_a_species.yml +101 -0
  45. data/spec/cassettes/Red_5_Species/gets_the_homeworld_for_a_species.yml +157 -0
  46. data/spec/cassettes/Red_5_Starships/Failure/raises_an_exception_on_a_non-existent_thing.yml +96 -0
  47. data/spec/failure_spec.rb +31 -0
  48. data/spec/models/films_spec.rb +15 -0
  49. data/spec/models/people_spec.rb +25 -0
  50. data/spec/models/planets_spec.rb +10 -0
  51. data/spec/models/species_spec.rb +20 -0
  52. data/spec/models/starships_spec.rb +10 -0
  53. data/spec/models/vehicles_spec.rb +10 -0
  54. data/spec/red5_spec.rb +2 -45
  55. data/spec/spec_helper.rb +1 -1
  56. metadata +129 -17
  57. data/lib/red5.rb +0 -14
  58. data/lib/red5/entities.rb +0 -9
  59. data/lib/red5/version.rb +0 -3
@@ -0,0 +1,101 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://swapi.co/api/people/1
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - "*/*; q=0.5, application/xml"
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 301
19
+ message: MOVED PERMANENTLY
20
+ headers:
21
+ Date:
22
+ - Tue, 23 Dec 2014 10:17:44 GMT
23
+ Content-Type:
24
+ - text/html; charset=utf-8
25
+ Transfer-Encoding:
26
+ - chunked
27
+ Connection:
28
+ - keep-alive
29
+ Set-Cookie:
30
+ - __cfduid=d48e6fe2f8a7c11e70ea41961a39885941419329864; expires=Wed, 23-Dec-15
31
+ 10:17:44 GMT; path=/; domain=.swapi.co; HttpOnly
32
+ Location:
33
+ - http://swapi.co/api/people/1/
34
+ X-Frame-Options:
35
+ - SAMEORIGIN
36
+ Via:
37
+ - 1.1 vegur
38
+ Server:
39
+ - cloudflare-nginx
40
+ Cf-Ray:
41
+ - 19d3cfa2dea50a72-LHR
42
+ body:
43
+ encoding: UTF-8
44
+ string: ''
45
+ http_version:
46
+ recorded_at: Tue, 23 Dec 2014 10:17:44 GMT
47
+ - request:
48
+ method: get
49
+ uri: http://swapi.co/api/people/1/
50
+ body:
51
+ encoding: US-ASCII
52
+ string: ''
53
+ headers:
54
+ Accept:
55
+ - "*/*; q=0.5, application/xml"
56
+ Accept-Encoding:
57
+ - gzip, deflate
58
+ Cookie:
59
+ - __cfduid=d48e6fe2f8a7c11e70ea41961a39885941419329864; domain=.swapi.co
60
+ User-Agent:
61
+ - Ruby
62
+ response:
63
+ status:
64
+ code: 200
65
+ message: OK
66
+ headers:
67
+ Date:
68
+ - Tue, 23 Dec 2014 10:17:45 GMT
69
+ Content-Type:
70
+ - application/json
71
+ Transfer-Encoding:
72
+ - chunked
73
+ Connection:
74
+ - keep-alive
75
+ Allow:
76
+ - GET, HEAD, OPTIONS
77
+ X-Frame-Options:
78
+ - SAMEORIGIN
79
+ Vary:
80
+ - Accept, Cookie
81
+ Via:
82
+ - 1.1 vegur
83
+ Server:
84
+ - cloudflare-nginx
85
+ Cf-Ray:
86
+ - 19d3cfa4d2a40a72-LHR
87
+ Content-Encoding:
88
+ - gzip
89
+ body:
90
+ encoding: ASCII-8BIT
91
+ string: !binary |-
92
+ H4sIAAAAAAAAA3yRy07DMBBFfwVlTeNHXsTLrtnRDSBUucm0tuLEkeMQRYh/
93
+ Z5xCAanpyppzj0djz0fUyRYiET2ODdw9NfMkTQMuuo8U6JPymLCCY9nKYcCi
94
+ KEIktdtX1liH5GBsVyMcGt1d4BENZDDDH28ERAftvNrPIANj5Xb7jPAEXQ0B
95
+ tNIESdkWJutMjUh53wtChkn2Oq4swYP0RnbgB8IIykdtWhzt9aq5hGdvPea3
96
+ 4+R2nJPoDZ/fQ6UhzIHFOyhdmaW6evEnJyxd631REnru76UblO5Xe14Ewlbf
97
+ 8+twvnStHEgP4Zs5ZemG8Q0tdywRGRUZi/M0pZS+hEXW+r/G6Y4zwQqR5fFD
98
+ yb610Zm1jYHtDYRFfH4BAAD//wMAhHGJM3MCAAA=
99
+ http_version:
100
+ recorded_at: Tue, 23 Dec 2014 10:17:44 GMT
101
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,157 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://swapi.co/api/species/3
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - "*/*; q=0.5, application/xml"
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 301
19
+ message: MOVED PERMANENTLY
20
+ headers:
21
+ Date:
22
+ - Tue, 23 Dec 2014 13:12:22 GMT
23
+ Content-Type:
24
+ - text/html; charset=utf-8
25
+ Transfer-Encoding:
26
+ - chunked
27
+ Connection:
28
+ - keep-alive
29
+ Set-Cookie:
30
+ - __cfduid=ded4f6dce405be3722a447805bc43a01c1419340341; expires=Wed, 23-Dec-15
31
+ 13:12:21 GMT; path=/; domain=.swapi.co; HttpOnly
32
+ Location:
33
+ - http://swapi.co/api/species/3/
34
+ X-Frame-Options:
35
+ - SAMEORIGIN
36
+ Via:
37
+ - 1.1 vegur
38
+ Server:
39
+ - cloudflare-nginx
40
+ Cf-Ray:
41
+ - 19d4cf6da5d70a72-LHR
42
+ body:
43
+ encoding: UTF-8
44
+ string: ''
45
+ http_version:
46
+ recorded_at: Tue, 23 Dec 2014 13:12:22 GMT
47
+ - request:
48
+ method: get
49
+ uri: http://swapi.co/api/species/3/
50
+ body:
51
+ encoding: US-ASCII
52
+ string: ''
53
+ headers:
54
+ Accept:
55
+ - "*/*; q=0.5, application/xml"
56
+ Accept-Encoding:
57
+ - gzip, deflate
58
+ Cookie:
59
+ - __cfduid=ded4f6dce405be3722a447805bc43a01c1419340341; domain=.swapi.co
60
+ User-Agent:
61
+ - Ruby
62
+ response:
63
+ status:
64
+ code: 200
65
+ message: OK
66
+ headers:
67
+ Date:
68
+ - Tue, 23 Dec 2014 13:12:25 GMT
69
+ Content-Type:
70
+ - application/json
71
+ Transfer-Encoding:
72
+ - chunked
73
+ Connection:
74
+ - keep-alive
75
+ Allow:
76
+ - GET, HEAD, OPTIONS
77
+ X-Frame-Options:
78
+ - SAMEORIGIN
79
+ Vary:
80
+ - Accept, Cookie
81
+ Via:
82
+ - 1.1 vegur
83
+ Server:
84
+ - cloudflare-nginx
85
+ Cf-Ray:
86
+ - 19d4cf76f1de0a72-LHR
87
+ Content-Encoding:
88
+ - gzip
89
+ body:
90
+ encoding: ASCII-8BIT
91
+ string: !binary |-
92
+ H4sIAAAAAAAAA3yRW2rDMBBFtxL07USPiBC8jQYKLSUo8sQeIktCUmpM6d47
93
+ dlKaQt0PYXTOZXQZfzBvemA1ew7hgsAqZp3JGc9oTcHgyfSm740j00DG1n/j
94
+ DL4gHRLmHZJp4dgBtl0hp6QgnC/ojza4kDKxNpmRYGcw/cCTM/ZSrU4pDJ4k
95
+ jPDorlCt2gTgq9UIzoXhniQaXDPhBM3D+w7PkKOZ2mkxNehCD0NIriHSlRJr
96
+ zvNgIm5s4PTh0RkPJXOpOaXp0l5pDoWfujEhDrQT4hFCdERf/54xWy6304h/
97
+ AnvB2VvFzuj6vDRrllwuTbpp9b9e7HHTu7mFTWAKTGtRQuq1VGspDnJXa11v
98
+ 5Ubvd0KIl+mHNPg7psRByXpLSbWRWt1j1+QWNpwjWIS51ecXAAAA//8DAFpH
99
+ /hJsAgAA
100
+ http_version:
101
+ recorded_at: Tue, 23 Dec 2014 13:12:24 GMT
102
+ - request:
103
+ method: get
104
+ uri: http://swapi.co/api/planets/14/
105
+ body:
106
+ encoding: US-ASCII
107
+ string: ''
108
+ headers:
109
+ Accept:
110
+ - "*/*; q=0.5, application/xml"
111
+ Accept-Encoding:
112
+ - gzip, deflate
113
+ User-Agent:
114
+ - Ruby
115
+ response:
116
+ status:
117
+ code: 200
118
+ message: OK
119
+ headers:
120
+ Date:
121
+ - Tue, 23 Dec 2014 13:12:33 GMT
122
+ Content-Type:
123
+ - application/json
124
+ Transfer-Encoding:
125
+ - chunked
126
+ Connection:
127
+ - keep-alive
128
+ Set-Cookie:
129
+ - __cfduid=d315c2099599d9289c058d8a48ae3b26b1419340353; expires=Wed, 23-Dec-15
130
+ 13:12:33 GMT; path=/; domain=.swapi.co; HttpOnly
131
+ Allow:
132
+ - GET, HEAD, OPTIONS
133
+ X-Frame-Options:
134
+ - SAMEORIGIN
135
+ Vary:
136
+ - Accept, Cookie
137
+ Via:
138
+ - 1.1 vegur
139
+ Server:
140
+ - cloudflare-nginx
141
+ Cf-Ray:
142
+ - 19d4cfb7e7620a72-LHR
143
+ Content-Encoding:
144
+ - gzip
145
+ body:
146
+ encoding: ASCII-8BIT
147
+ string: !binary |-
148
+ H4sIAAAAAAAAAwAAAP//fJDdTsMwDEZfZcp1t/y0K1VegdtdgdBkWm/LliaR
149
+ k26qEO+OV5AQEpAbS8cn/py8iQAjCiseIZ/meb6ISlAsUFwM+4Tk4sBN0zKO
150
+ 9OoK+G9ad5rx4HhAQWKgzUO7ZdR7N0K5Ty0Uk+vBMzwSXF2Z79oqFwgD0MCY
151
+ bxK4wPg8haPHanWIhLnkauXhglzIXZEyq3miA/S4v8FnXKsYppgmv6zLpNmq
152
+ 5dwfgdkNGEoW9lmcSklWynyD5DZ9lFxkwpg8Sl1Ltv8ROiXFSyUOzo9/zlqa
153
+ sl3EnpD3W35N6WatzVqrna5tbaxSG20a3u+JI3FwPzWjdkbZbWd1t2ka86VN
154
+ 5Nn5LTR5CFiy1I0U7x8AAAD//wMA/GEORsgBAAA=
155
+ http_version:
156
+ recorded_at: Tue, 23 Dec 2014 13:12:33 GMT
157
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,101 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://swapi.co/api/species/9
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - "*/*; q=0.5, application/xml"
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 301
19
+ message: MOVED PERMANENTLY
20
+ headers:
21
+ Date:
22
+ - Tue, 23 Dec 2014 13:11:36 GMT
23
+ Content-Type:
24
+ - text/html; charset=utf-8
25
+ Transfer-Encoding:
26
+ - chunked
27
+ Connection:
28
+ - keep-alive
29
+ Set-Cookie:
30
+ - __cfduid=dcba1c61e30d415f5797b2a94861730ef1419340295; expires=Wed, 23-Dec-15
31
+ 13:11:35 GMT; path=/; domain=.swapi.co; HttpOnly
32
+ Location:
33
+ - http://swapi.co/api/species/9/
34
+ X-Frame-Options:
35
+ - SAMEORIGIN
36
+ Via:
37
+ - 1.1 vegur
38
+ Server:
39
+ - cloudflare-nginx
40
+ Cf-Ray:
41
+ - 19d4ce5030570a72-LHR
42
+ body:
43
+ encoding: UTF-8
44
+ string: ''
45
+ http_version:
46
+ recorded_at: Tue, 23 Dec 2014 13:11:35 GMT
47
+ - request:
48
+ method: get
49
+ uri: http://swapi.co/api/species/9/
50
+ body:
51
+ encoding: US-ASCII
52
+ string: ''
53
+ headers:
54
+ Accept:
55
+ - "*/*; q=0.5, application/xml"
56
+ Accept-Encoding:
57
+ - gzip, deflate
58
+ Cookie:
59
+ - __cfduid=dcba1c61e30d415f5797b2a94861730ef1419340295; domain=.swapi.co
60
+ User-Agent:
61
+ - Ruby
62
+ response:
63
+ status:
64
+ code: 200
65
+ message: OK
66
+ headers:
67
+ Date:
68
+ - Tue, 23 Dec 2014 13:11:36 GMT
69
+ Content-Type:
70
+ - application/json
71
+ Transfer-Encoding:
72
+ - chunked
73
+ Connection:
74
+ - keep-alive
75
+ Allow:
76
+ - GET, HEAD, OPTIONS
77
+ X-Frame-Options:
78
+ - SAMEORIGIN
79
+ Vary:
80
+ - Accept, Cookie
81
+ Via:
82
+ - 1.1 vegur
83
+ Server:
84
+ - cloudflare-nginx
85
+ Cf-Ray:
86
+ - 19d4ce5226810a72-LHR
87
+ Content-Encoding:
88
+ - gzip
89
+ body:
90
+ encoding: ASCII-8BIT
91
+ string: !binary |-
92
+ H4sIAAAAAAAAA3SPTW4CMQxGr1JlDeQHaGH2vQGrVhVyg5mxyCRRHDqqqt69
93
+ nhGIViqLyNH7Xhz7S0XoUTXqeUgnNVM+ADMdyUOlFIX30PcQJDkgUxuvmDFW
94
+ kiMBfGCBFvcdUttVyawxgvlEce9TSIWFvZc0RKEdULnRoaOKs4cplBLAjzPg
95
+ J96UVCC2V+fXb4GOyBnGWc7xFC/dU49DKuEgtKs1N1rzAJkWPmkpOgeIWFk/
96
+ aZHl3p6l1WV5ZBSYMeUg6PX/91Oql0art5k6Uuj5njqFejmJviBUHIdyxq7m
97
+ 1s3tZmdt41xjzMJt1saYl3HxA/3VnNk52ywfm5Vb2PVVO5dwZz/O6AlZb7X6
98
+ /gEAAP//AwArBqwx2gEAAA==
99
+ http_version:
100
+ recorded_at: Tue, 23 Dec 2014 13:11:36 GMT
101
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,157 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://swapi.co/api/species/3
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - "*/*; q=0.5, application/xml"
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 301
19
+ message: MOVED PERMANENTLY
20
+ headers:
21
+ Date:
22
+ - Tue, 23 Dec 2014 11:56:51 GMT
23
+ Content-Type:
24
+ - text/html; charset=utf-8
25
+ Transfer-Encoding:
26
+ - chunked
27
+ Connection:
28
+ - keep-alive
29
+ Set-Cookie:
30
+ - __cfduid=d310eb2b783ded1f80cd7c6e685b68ffc1419335810; expires=Wed, 23-Dec-15
31
+ 11:56:50 GMT; path=/; domain=.swapi.co; HttpOnly
32
+ Location:
33
+ - http://swapi.co/api/species/3/
34
+ X-Frame-Options:
35
+ - SAMEORIGIN
36
+ Via:
37
+ - 1.1 vegur
38
+ Server:
39
+ - cloudflare-nginx
40
+ Cf-Ray:
41
+ - 19d460d296ca0a78-LHR
42
+ body:
43
+ encoding: UTF-8
44
+ string: ''
45
+ http_version:
46
+ recorded_at: Tue, 23 Dec 2014 11:56:50 GMT
47
+ - request:
48
+ method: get
49
+ uri: http://swapi.co/api/species/3/
50
+ body:
51
+ encoding: US-ASCII
52
+ string: ''
53
+ headers:
54
+ Accept:
55
+ - "*/*; q=0.5, application/xml"
56
+ Accept-Encoding:
57
+ - gzip, deflate
58
+ Cookie:
59
+ - __cfduid=d310eb2b783ded1f80cd7c6e685b68ffc1419335810; domain=.swapi.co
60
+ User-Agent:
61
+ - Ruby
62
+ response:
63
+ status:
64
+ code: 200
65
+ message: OK
66
+ headers:
67
+ Date:
68
+ - Tue, 23 Dec 2014 11:56:52 GMT
69
+ Content-Type:
70
+ - application/json
71
+ Transfer-Encoding:
72
+ - chunked
73
+ Connection:
74
+ - keep-alive
75
+ Allow:
76
+ - GET, HEAD, OPTIONS
77
+ X-Frame-Options:
78
+ - SAMEORIGIN
79
+ Vary:
80
+ - Accept, Cookie
81
+ Via:
82
+ - 1.1 vegur
83
+ Server:
84
+ - cloudflare-nginx
85
+ Cf-Ray:
86
+ - 19d460d34e760a78-LHR
87
+ Content-Encoding:
88
+ - gzip
89
+ body:
90
+ encoding: ASCII-8BIT
91
+ string: !binary |-
92
+ H4sIAAAAAAAAA3yRW2rDMBBFtxL07USPiBC8jQYKLSUo8sQeIktCUmpM6d47
93
+ dlKaQt0PYXTOZXQZfzBvemA1ew7hgsAqZp3JGc9oTcHgyfSm740j00DG1n/j
94
+ DL4gHRLmHZJp4dgBtl0hp6QgnC/ojza4kDKxNpmRYGcw/cCTM/ZSrU4pDJ4k
95
+ jPDorlCt2gTgq9UIzoXhniQaXDPhBM3D+w7PkKOZ2mkxNehCD0NIriHSlRJr
96
+ zvNgIm5s4PTh0RkPJXOpOaXp0l5pDoWfujEhDrQT4hFCdERf/54xWy6304h/
97
+ AnvB2VvFzuj6vDRrllwuTbpp9b9e7HHTu7mFTWAKTGtRQuq1VGspDnJXa11v
98
+ 5Ubvd0KIl+mHNPg7psRByXpLSbWRWt1j1+QWNpwjWIS51ecXAAAA//8DAFpH
99
+ /hJsAgAA
100
+ http_version:
101
+ recorded_at: Tue, 23 Dec 2014 11:56:52 GMT
102
+ - request:
103
+ method: get
104
+ uri: http://swapi.co/api/planets/14/
105
+ body:
106
+ encoding: US-ASCII
107
+ string: ''
108
+ headers:
109
+ Accept:
110
+ - "*/*; q=0.5, application/xml"
111
+ Accept-Encoding:
112
+ - gzip, deflate
113
+ User-Agent:
114
+ - Ruby
115
+ response:
116
+ status:
117
+ code: 200
118
+ message: OK
119
+ headers:
120
+ Date:
121
+ - Tue, 23 Dec 2014 11:56:52 GMT
122
+ Content-Type:
123
+ - application/json
124
+ Transfer-Encoding:
125
+ - chunked
126
+ Connection:
127
+ - keep-alive
128
+ Set-Cookie:
129
+ - __cfduid=d64e54d1f9e5c7d4549200b78f95f8c471419335812; expires=Wed, 23-Dec-15
130
+ 11:56:52 GMT; path=/; domain=.swapi.co; HttpOnly
131
+ Allow:
132
+ - GET, HEAD, OPTIONS
133
+ X-Frame-Options:
134
+ - SAMEORIGIN
135
+ Vary:
136
+ - Accept, Cookie
137
+ Via:
138
+ - 1.1 vegur
139
+ Server:
140
+ - cloudflare-nginx
141
+ Cf-Ray:
142
+ - 19d460da37d30a78-LHR
143
+ Content-Encoding:
144
+ - gzip
145
+ body:
146
+ encoding: ASCII-8BIT
147
+ string: !binary |-
148
+ H4sIAAAAAAAAAwAAAP//fJDdTsMwDEZfZcp1t/y0K1VegdtdgdBkWm/LliaR
149
+ k26qEO+OV5AQEpAbS8cn/py8iQAjCiseIZ/meb6ISlAsUFwM+4Tk4sBN0zKO
150
+ 9OoK+G9ad5rx4HhAQWKgzUO7ZdR7N0K5Ty0Uk+vBMzwSXF2Z79oqFwgD0MCY
151
+ bxK4wPg8haPHanWIhLnkauXhglzIXZEyq3miA/S4v8FnXKsYppgmv6zLpNmq
152
+ 5dwfgdkNGEoW9lmcSklWynyD5DZ9lFxkwpg8Sl1Ltv8ROiXFSyUOzo9/zlqa
153
+ sl3EnpD3W35N6WatzVqrna5tbaxSG20a3u+JI3FwPzWjdkbZbWd1t2ka86VN
154
+ 5Nn5LTR5CFiy1I0U7x8AAAD//wMA/GEORsgBAAA=
155
+ http_version:
156
+ recorded_at: Tue, 23 Dec 2014 11:56:52 GMT
157
+ recorded_with: VCR 2.9.3