bookingsync-api 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (24) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +25 -1
  3. data/lib/bookingsync/api.rb +1 -0
  4. data/lib/bookingsync/api/client.rb +80 -10
  5. data/lib/bookingsync/api/client/bookings.rb +42 -2
  6. data/lib/bookingsync/api/client/inquiries.rb +23 -0
  7. data/lib/bookingsync/api/client/rentals.rb +3 -2
  8. data/lib/bookingsync/api/error.rb +1 -0
  9. data/lib/bookingsync/api/version.rb +1 -1
  10. data/lib/bookingsync/ext/resource.rb +9 -0
  11. data/spec/bookingsync/api/client/bookings_spec.rb +78 -0
  12. data/spec/bookingsync/api/client/inquiries_spec.rb +37 -0
  13. data/spec/bookingsync/api/client_spec.rb +65 -3
  14. data/spec/cassettes/BookingSync_API_Client_Bookings/_bookings/pagination/with_a_block/yields_block_with_batch_of_bookings.yml +190 -0
  15. data/spec/cassettes/BookingSync_API_Client_Bookings/_bookings/pagination/with_auto_paginate_true/returns_all_bookings_joined_from_many_requests.yml +190 -0
  16. data/spec/cassettes/BookingSync_API_Client_Bookings/_bookings/pagination/with_per_page_setting/returns_limited_number_of_bookings.yml +65 -0
  17. data/spec/cassettes/BookingSync_API_Client_Bookings/_cancel_booking/cancels_given_booking.yml +57 -0
  18. data/spec/cassettes/BookingSync_API_Client_Bookings/_create_booking/creates_a_booking.yml +63 -0
  19. data/spec/cassettes/BookingSync_API_Client_Bookings/_edit_booking/updates_given_booking_by_ID.yml +57 -0
  20. data/spec/cassettes/BookingSync_API_Client_Inquiries/_create_inquiry/creates_a_new_inquiry.yml +64 -0
  21. data/spec/cassettes/BookingSync_API_Client_Inquiries/_inquiries/returns_inquiries.yml +64 -0
  22. data/spec/cassettes/spec/cassettes/BookingSync_API_Client_Bookings/_create_booking/creates_a_booking_yml.yml +62 -0
  23. data/spec/spec_helper.rb +24 -0
  24. metadata +24 -2
@@ -0,0 +1,190 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://www.bookingsync.com/api/v3/bookings?per_page=2
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.9.0
12
+ Accept:
13
+ - application/vnd.api+json
14
+ Content-Type:
15
+ - application/vnd.api+json
16
+ Authorization:
17
+ - Bearer <<ACCESS_TOKEN>>
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ response:
21
+ status:
22
+ code: 200
23
+ message: OK
24
+ headers:
25
+ X-Ratelimit-Limit:
26
+ - '1000'
27
+ X-Ratelimit-Reset:
28
+ - '1395410400'
29
+ X-Ratelimit-Remaining:
30
+ - '959'
31
+ Link:
32
+ - "<https://www.bookingsync.com/api/v3/bookings.json?page=1&per_page=2>; rel=\"first\",
33
+ <https://www.bookingsync.com/api/v3/bookings.json?page=2&per_page=2>; rel=\"next\",
34
+ <https://www.bookingsync.com/api/v3/bookings.json?page=3&per_page=2>; rel=\"last\""
35
+ X-Total-Pages:
36
+ - '3'
37
+ Access-Control-Allow-Origin:
38
+ - "*"
39
+ Access-Control-Request-Method:
40
+ - "*"
41
+ Content-Type:
42
+ - application/vnd.api+json; charset=utf-8
43
+ X-Ua-Compatible:
44
+ - IE=Edge
45
+ Etag:
46
+ - "\"25e36b48fa66e5428431111d81877e3f\""
47
+ Cache-Control:
48
+ - max-age=0, private, must-revalidate
49
+ P3p:
50
+ - CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
51
+ OUR SAMi OTRo UNRo PUBi IND UNI STA"
52
+ X-Request-Id:
53
+ - eb5b3e3bc1bf4672c1fdf78bfe5894d2
54
+ X-Runtime:
55
+ - '0.163098'
56
+ Date:
57
+ - Fri, 21 Mar 2014 13:46:18 GMT
58
+ Connection:
59
+ - close
60
+ body:
61
+ encoding: UTF-8
62
+ string: "{\"bookings\":[{\"id\":1,\"account_id\":1,\"rental_id\":2,\"start_at\":\"2014-04-28T10:55:13Z\",\"end_at\":\"2014-12-28T10:55:34Z\"},{\"id\":4,\"account_id\":1,\"rental_id\":2,\"start_at\":\"2014-04-28T10:55:13Z\",\"end_at\":\"2014-12-28T10:55:34Z\"}]}"
63
+ http_version:
64
+ recorded_at: Fri, 21 Mar 2014 13:46:18 GMT
65
+ - request:
66
+ method: get
67
+ uri: https://www.bookingsync.com/api/v3/bookings.json?page=2&per_page=2
68
+ body:
69
+ encoding: US-ASCII
70
+ string: ''
71
+ headers:
72
+ User-Agent:
73
+ - Faraday v0.9.0
74
+ Accept:
75
+ - application/vnd.api+json
76
+ Content-Type:
77
+ - application/vnd.api+json
78
+ Authorization:
79
+ - Bearer <<ACCESS_TOKEN>>
80
+ Accept-Encoding:
81
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
82
+ response:
83
+ status:
84
+ code: 200
85
+ message: OK
86
+ headers:
87
+ X-Ratelimit-Limit:
88
+ - '1000'
89
+ X-Ratelimit-Reset:
90
+ - '1395410400'
91
+ X-Ratelimit-Remaining:
92
+ - '958'
93
+ Link:
94
+ - "<https://www.bookingsync.com/api/v3/bookings.json?page=1&per_page=2>; rel=\"first\",
95
+ <https://www.bookingsync.com/api/v3/bookings.json?page=1&per_page=2>; rel=\"prev\",
96
+ <https://www.bookingsync.com/api/v3/bookings.json?page=3&per_page=2>; rel=\"next\",
97
+ <https://www.bookingsync.com/api/v3/bookings.json?page=3&per_page=2>; rel=\"last\""
98
+ X-Total-Pages:
99
+ - '3'
100
+ Access-Control-Allow-Origin:
101
+ - "*"
102
+ Access-Control-Request-Method:
103
+ - "*"
104
+ Content-Type:
105
+ - application/vnd.api+json; charset=utf-8
106
+ X-Ua-Compatible:
107
+ - IE=Edge
108
+ Etag:
109
+ - "\"d7959f3dd105d79d2d434b608074ad7f\""
110
+ Cache-Control:
111
+ - max-age=0, private, must-revalidate
112
+ P3p:
113
+ - CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
114
+ OUR SAMi OTRo UNRo PUBi IND UNI STA"
115
+ X-Request-Id:
116
+ - 6878a84fcb8c6f4a4ba5129845805d2b
117
+ X-Runtime:
118
+ - '0.057656'
119
+ Date:
120
+ - Fri, 21 Mar 2014 13:46:18 GMT
121
+ Connection:
122
+ - close
123
+ body:
124
+ encoding: UTF-8
125
+ string: "{\"bookings\":[{\"id\":5,\"account_id\":1,\"rental_id\":2,\"start_at\":\"2014-04-28T10:55:13Z\",\"end_at\":\"2014-12-28T10:55:34Z\"},{\"id\":6,\"account_id\":1,\"rental_id\":4,\"start_at\":\"2014-04-28T10:55:13Z\",\"end_at\":\"2014-12-28T10:55:34Z\"}]}"
126
+ http_version:
127
+ recorded_at: Fri, 21 Mar 2014 13:46:18 GMT
128
+ - request:
129
+ method: get
130
+ uri: https://www.bookingsync.com/api/v3/bookings.json?page=3&per_page=2
131
+ body:
132
+ encoding: US-ASCII
133
+ string: ''
134
+ headers:
135
+ User-Agent:
136
+ - Faraday v0.9.0
137
+ Accept:
138
+ - application/vnd.api+json
139
+ Content-Type:
140
+ - application/vnd.api+json
141
+ Authorization:
142
+ - Bearer <<ACCESS_TOKEN>>
143
+ Accept-Encoding:
144
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
145
+ response:
146
+ status:
147
+ code: 200
148
+ message: OK
149
+ headers:
150
+ X-Ratelimit-Limit:
151
+ - '1000'
152
+ X-Ratelimit-Reset:
153
+ - '1395410400'
154
+ X-Ratelimit-Remaining:
155
+ - '957'
156
+ Link:
157
+ - "<https://www.bookingsync.com/api/v3/bookings.json?page=1&per_page=2>; rel=\"first\",
158
+ <https://www.bookingsync.com/api/v3/bookings.json?page=2&per_page=2>; rel=\"prev\",
159
+ <https://www.bookingsync.com/api/v3/bookings.json?page=3&per_page=2>; rel=\"last\""
160
+ X-Total-Pages:
161
+ - '3'
162
+ Access-Control-Allow-Origin:
163
+ - "*"
164
+ Access-Control-Request-Method:
165
+ - "*"
166
+ Content-Type:
167
+ - application/vnd.api+json; charset=utf-8
168
+ X-Ua-Compatible:
169
+ - IE=Edge
170
+ Etag:
171
+ - "\"b22b194138694e3995e5dce56ab4d648\""
172
+ Cache-Control:
173
+ - max-age=0, private, must-revalidate
174
+ P3p:
175
+ - CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
176
+ OUR SAMi OTRo UNRo PUBi IND UNI STA"
177
+ X-Request-Id:
178
+ - 7156d0610d945ed7b5aedf6f11137781
179
+ X-Runtime:
180
+ - '0.056853'
181
+ Date:
182
+ - Fri, 21 Mar 2014 13:46:18 GMT
183
+ Connection:
184
+ - close
185
+ body:
186
+ encoding: UTF-8
187
+ string: "{\"bookings\":[{\"id\":7,\"account_id\":1,\"rental_id\":4,\"start_at\":\"2014-04-28T10:55:13Z\",\"end_at\":\"2014-12-28T10:55:34Z\"}]}"
188
+ http_version:
189
+ recorded_at: Fri, 21 Mar 2014 13:46:18 GMT
190
+ recorded_with: VCR 2.8.0
@@ -0,0 +1,190 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://www.bookingsync.com/api/v3/bookings?per_page=2
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.9.0
12
+ Accept:
13
+ - application/vnd.api+json
14
+ Content-Type:
15
+ - application/vnd.api+json
16
+ Authorization:
17
+ - Bearer <<ACCESS_TOKEN>>
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ response:
21
+ status:
22
+ code: 200
23
+ message: OK
24
+ headers:
25
+ X-Ratelimit-Limit:
26
+ - '1000'
27
+ X-Ratelimit-Reset:
28
+ - '1395410400'
29
+ X-Ratelimit-Remaining:
30
+ - '956'
31
+ Link:
32
+ - "<https://www.bookingsync.com/api/v3/bookings.json?page=1&per_page=2>; rel=\"first\",
33
+ <https://www.bookingsync.com/api/v3/bookings.json?page=2&per_page=2>; rel=\"next\",
34
+ <https://www.bookingsync.com/api/v3/bookings.json?page=3&per_page=2>; rel=\"last\""
35
+ X-Total-Pages:
36
+ - '3'
37
+ Access-Control-Allow-Origin:
38
+ - "*"
39
+ Access-Control-Request-Method:
40
+ - "*"
41
+ Content-Type:
42
+ - application/vnd.api+json; charset=utf-8
43
+ X-Ua-Compatible:
44
+ - IE=Edge
45
+ Etag:
46
+ - "\"25e36b48fa66e5428431111d81877e3f\""
47
+ Cache-Control:
48
+ - max-age=0, private, must-revalidate
49
+ P3p:
50
+ - CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
51
+ OUR SAMi OTRo UNRo PUBi IND UNI STA"
52
+ X-Request-Id:
53
+ - 4de62276b706b2c79349974f626d48bf
54
+ X-Runtime:
55
+ - '0.072189'
56
+ Date:
57
+ - Fri, 21 Mar 2014 13:46:18 GMT
58
+ Connection:
59
+ - close
60
+ body:
61
+ encoding: UTF-8
62
+ string: "{\"bookings\":[{\"id\":1,\"account_id\":1,\"rental_id\":2,\"start_at\":\"2014-04-28T10:55:13Z\",\"end_at\":\"2014-12-28T10:55:34Z\"},{\"id\":4,\"account_id\":1,\"rental_id\":2,\"start_at\":\"2014-04-28T10:55:13Z\",\"end_at\":\"2014-12-28T10:55:34Z\"}]}"
63
+ http_version:
64
+ recorded_at: Fri, 21 Mar 2014 13:46:19 GMT
65
+ - request:
66
+ method: get
67
+ uri: https://www.bookingsync.com/api/v3/bookings.json?page=2&per_page=2
68
+ body:
69
+ encoding: US-ASCII
70
+ string: ''
71
+ headers:
72
+ User-Agent:
73
+ - Faraday v0.9.0
74
+ Accept:
75
+ - application/vnd.api+json
76
+ Content-Type:
77
+ - application/vnd.api+json
78
+ Authorization:
79
+ - Bearer <<ACCESS_TOKEN>>
80
+ Accept-Encoding:
81
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
82
+ response:
83
+ status:
84
+ code: 200
85
+ message: OK
86
+ headers:
87
+ X-Ratelimit-Limit:
88
+ - '1000'
89
+ X-Ratelimit-Reset:
90
+ - '1395410400'
91
+ X-Ratelimit-Remaining:
92
+ - '955'
93
+ Link:
94
+ - "<https://www.bookingsync.com/api/v3/bookings.json?page=1&per_page=2>; rel=\"first\",
95
+ <https://www.bookingsync.com/api/v3/bookings.json?page=1&per_page=2>; rel=\"prev\",
96
+ <https://www.bookingsync.com/api/v3/bookings.json?page=3&per_page=2>; rel=\"next\",
97
+ <https://www.bookingsync.com/api/v3/bookings.json?page=3&per_page=2>; rel=\"last\""
98
+ X-Total-Pages:
99
+ - '3'
100
+ Access-Control-Allow-Origin:
101
+ - "*"
102
+ Access-Control-Request-Method:
103
+ - "*"
104
+ Content-Type:
105
+ - application/vnd.api+json; charset=utf-8
106
+ X-Ua-Compatible:
107
+ - IE=Edge
108
+ Etag:
109
+ - "\"d7959f3dd105d79d2d434b608074ad7f\""
110
+ Cache-Control:
111
+ - max-age=0, private, must-revalidate
112
+ P3p:
113
+ - CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
114
+ OUR SAMi OTRo UNRo PUBi IND UNI STA"
115
+ X-Request-Id:
116
+ - 09a37168809795061c802c3bf48d8cdc
117
+ X-Runtime:
118
+ - '0.072361'
119
+ Date:
120
+ - Fri, 21 Mar 2014 13:46:19 GMT
121
+ Connection:
122
+ - close
123
+ body:
124
+ encoding: UTF-8
125
+ string: "{\"bookings\":[{\"id\":5,\"account_id\":1,\"rental_id\":2,\"start_at\":\"2014-04-28T10:55:13Z\",\"end_at\":\"2014-12-28T10:55:34Z\"},{\"id\":6,\"account_id\":1,\"rental_id\":4,\"start_at\":\"2014-04-28T10:55:13Z\",\"end_at\":\"2014-12-28T10:55:34Z\"}]}"
126
+ http_version:
127
+ recorded_at: Fri, 21 Mar 2014 13:46:19 GMT
128
+ - request:
129
+ method: get
130
+ uri: https://www.bookingsync.com/api/v3/bookings.json?page=3&per_page=2
131
+ body:
132
+ encoding: US-ASCII
133
+ string: ''
134
+ headers:
135
+ User-Agent:
136
+ - Faraday v0.9.0
137
+ Accept:
138
+ - application/vnd.api+json
139
+ Content-Type:
140
+ - application/vnd.api+json
141
+ Authorization:
142
+ - Bearer <<ACCESS_TOKEN>>
143
+ Accept-Encoding:
144
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
145
+ response:
146
+ status:
147
+ code: 200
148
+ message: OK
149
+ headers:
150
+ X-Ratelimit-Limit:
151
+ - '1000'
152
+ X-Ratelimit-Reset:
153
+ - '1395410400'
154
+ X-Ratelimit-Remaining:
155
+ - '954'
156
+ Link:
157
+ - "<https://www.bookingsync.com/api/v3/bookings.json?page=1&per_page=2>; rel=\"first\",
158
+ <https://www.bookingsync.com/api/v3/bookings.json?page=2&per_page=2>; rel=\"prev\",
159
+ <https://www.bookingsync.com/api/v3/bookings.json?page=3&per_page=2>; rel=\"last\""
160
+ X-Total-Pages:
161
+ - '3'
162
+ Access-Control-Allow-Origin:
163
+ - "*"
164
+ Access-Control-Request-Method:
165
+ - "*"
166
+ Content-Type:
167
+ - application/vnd.api+json; charset=utf-8
168
+ X-Ua-Compatible:
169
+ - IE=Edge
170
+ Etag:
171
+ - "\"b22b194138694e3995e5dce56ab4d648\""
172
+ Cache-Control:
173
+ - max-age=0, private, must-revalidate
174
+ P3p:
175
+ - CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
176
+ OUR SAMi OTRo UNRo PUBi IND UNI STA"
177
+ X-Request-Id:
178
+ - 00e89cc874e87c8a3cd7cc0b6a8d5787
179
+ X-Runtime:
180
+ - '0.054231'
181
+ Date:
182
+ - Fri, 21 Mar 2014 13:46:19 GMT
183
+ Connection:
184
+ - close
185
+ body:
186
+ encoding: UTF-8
187
+ string: "{\"bookings\":[{\"id\":7,\"account_id\":1,\"rental_id\":4,\"start_at\":\"2014-04-28T10:55:13Z\",\"end_at\":\"2014-12-28T10:55:34Z\"}]}"
188
+ http_version:
189
+ recorded_at: Fri, 21 Mar 2014 13:46:19 GMT
190
+ recorded_with: VCR 2.8.0
@@ -0,0 +1,65 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://www.bookingsync.com/api/v3/bookings?per_page=2
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.9.0
12
+ Accept:
13
+ - application/vnd.api+json
14
+ Content-Type:
15
+ - application/vnd.api+json
16
+ Authorization:
17
+ - Bearer <<ACCESS_TOKEN>>
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ response:
21
+ status:
22
+ code: 200
23
+ message: OK
24
+ headers:
25
+ X-Ratelimit-Limit:
26
+ - '1000'
27
+ X-Ratelimit-Reset:
28
+ - '1395410400'
29
+ X-Ratelimit-Remaining:
30
+ - '953'
31
+ Link:
32
+ - "<https://www.bookingsync.com/api/v3/bookings.json?page=1&per_page=2>; rel=\"first\",
33
+ <https://www.bookingsync.com/api/v3/bookings.json?page=2&per_page=2>; rel=\"next\",
34
+ <https://www.bookingsync.com/api/v3/bookings.json?page=3&per_page=2>; rel=\"last\""
35
+ X-Total-Pages:
36
+ - '3'
37
+ Access-Control-Allow-Origin:
38
+ - "*"
39
+ Access-Control-Request-Method:
40
+ - "*"
41
+ Content-Type:
42
+ - application/vnd.api+json; charset=utf-8
43
+ X-Ua-Compatible:
44
+ - IE=Edge
45
+ Etag:
46
+ - "\"25e36b48fa66e5428431111d81877e3f\""
47
+ Cache-Control:
48
+ - max-age=0, private, must-revalidate
49
+ P3p:
50
+ - CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
51
+ OUR SAMi OTRo UNRo PUBi IND UNI STA"
52
+ X-Request-Id:
53
+ - 4b262384ef6d6f38de8dcbd0802f838f
54
+ X-Runtime:
55
+ - '0.053473'
56
+ Date:
57
+ - Fri, 21 Mar 2014 13:48:49 GMT
58
+ Connection:
59
+ - close
60
+ body:
61
+ encoding: UTF-8
62
+ string: "{\"bookings\":[{\"id\":1,\"account_id\":1,\"rental_id\":2,\"start_at\":\"2014-04-28T10:55:13Z\",\"end_at\":\"2014-12-28T10:55:34Z\"},{\"id\":4,\"account_id\":1,\"rental_id\":2,\"start_at\":\"2014-04-28T10:55:13Z\",\"end_at\":\"2014-12-28T10:55:34Z\"}]}"
63
+ http_version:
64
+ recorded_at: Fri, 21 Mar 2014 13:48:49 GMT
65
+ recorded_with: VCR 2.8.0
@@ -0,0 +1,57 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: delete
5
+ uri: https://www.bookingsync.com/api/v3/bookings/50
6
+ body:
7
+ encoding: UTF-8
8
+ string: "{}"
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.9.0
12
+ Accept:
13
+ - application/vnd.api+json
14
+ Content-Type:
15
+ - application/vnd.api+json
16
+ Authorization:
17
+ - Bearer <<ACCESS_TOKEN>>
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ response:
21
+ status:
22
+ code: 204
23
+ message: No Content
24
+ headers:
25
+ X-Ratelimit-Limit:
26
+ - '1000'
27
+ X-Ratelimit-Reset:
28
+ - '1395356400'
29
+ X-Ratelimit-Remaining:
30
+ - '998'
31
+ Access-Control-Allow-Origin:
32
+ - "*"
33
+ Access-Control-Request-Method:
34
+ - "*"
35
+ X-Ua-Compatible:
36
+ - IE=Edge
37
+ Cache-Control:
38
+ - no-cache
39
+ P3p:
40
+ - CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
41
+ OUR SAMi OTRo UNRo PUBi IND UNI STA"
42
+ Set-Cookie:
43
+ - _BookingSync_session=668459316ed31ec8223d60c1a74c44a5; path=/; secure; HttpOnly
44
+ X-Request-Id:
45
+ - 6263ead619fc48d469da00e63828c31e
46
+ X-Runtime:
47
+ - '0.243444'
48
+ Date:
49
+ - Thu, 20 Mar 2014 22:07:49 GMT
50
+ Connection:
51
+ - close
52
+ body:
53
+ encoding: UTF-8
54
+ string: ''
55
+ http_version:
56
+ recorded_at: Thu, 20 Mar 2014 22:07:49 GMT
57
+ recorded_with: VCR 2.8.0