taskrabbit 0.0.9 → 0.0.10

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.
@@ -45,3 +45,47 @@
45
45
  unassigned, Task will expire on"},{"value":1347663600,"key":"complete_by_time","title":"Task
46
46
  should be completed by"}],"state":"opened"}'
47
47
  http_version: '1.1'
48
+ - !ruby/struct:VCR::HTTPInteraction
49
+ request: !ruby/struct:VCR::Request
50
+ method: :get
51
+ uri: https://taskrabbitdev.com:443/api/v1/tasks/52?include[task][]=errors&include[task][]=links&include[task][]=error&include[task][]=id&include[task][]=name&include[task][]=user&include[task][]=runner&include[task][]=runners&include[task][]=named_price&include[task][]=charge_price&include[task][]=cost_in_cents&include[task][]=number_runners_to_fill&include[task][]=state_label&include[task][]=geography_id&include[task][]=city&include[task][]=description&include[task][]=private_description&include[task][]=private_runner&include[task][]=virtual&include[task][]=state&include[task][]=assignment_type&include[task][]=complete_by_time&include[task][]=state_changed_at&include[task][]=assign_by_time&include[task][]=location_visits&include[task][]=offers&include[task][]=other_locations_attributes&include[task][]=uploaded_photos_attributes&include[task][]=uploaded_sounds_attributes
52
+ body:
53
+ headers:
54
+ x-client-application:
55
+ - <API_SECRET>
56
+ authorization:
57
+ - OAuth
58
+ response: !ruby/struct:VCR::Response
59
+ status: !ruby/struct:VCR::ResponseStatus
60
+ code: 200
61
+ message: OK
62
+ headers:
63
+ server:
64
+ - nginx/1.0.11
65
+ date:
66
+ - Fri, 12 Oct 2012 06:48:21 GMT
67
+ content-type:
68
+ - application/json; charset=utf-8
69
+ status:
70
+ - 200 OK
71
+ etag:
72
+ - ! '"113afdc7a5baebcef5c807c002535ed0"'
73
+ cache-control:
74
+ - max-age=0, private, must-revalidate
75
+ x-runtime:
76
+ - '0.081255'
77
+ x-ua-compatible:
78
+ - IE=Edge,chrome=1
79
+ strict-transport-security:
80
+ - max-age=31536000
81
+ content-length:
82
+ - '1171'
83
+ body: ! '{"user":{"id":40,"short_name":"UserWith","display_name":"UserWith c.","city":{"id":1053,"lng":-122.419416,"lat":37.77493,"name":"SF
84
+ Bay Area","links":{"get":"/api/v1/cities/3"}},"full_name":"UserWith c.","links":{"avatar_url":"http://s-app1.taskrabbit.com/images/default_avatars/poster_thumb.png","get":"/api/v1/users/40"},"friend_code_url":"http://taskrabbit.com/PAL/40"},"id":52,"location_visits":{"items":[{"zip":"94102","address":"Powell
85
+ Street, San Francisco, CA","approximate_radius":0.5,"lng":-122.4054037525,"lat":37.7861750088,"complete":"Powell
86
+ Street, San Francisco, CA, San Francisco, CA 94102","city":"San Francisco","name":"Home","state":"CA","partial":"Powell
87
+ Street, San Francisco, CA, San Francisco, CA 94102"}]},"runners":{"items":[]},"cost_in_cents":0,"assign_by_time":1347577200,"state_label":"posted","description":"I
88
+ need to clean my house","city":{"id":1053,"lng":-122.419416,"lat":37.77493,"name":"SF
89
+ Bay Area","links":{"get":"/api/v1/cities/3"}},"state_changed_at":1347490579,"name":"House
90
+ Cleaning","state":"opened","complete_by_time":1347663600,"links":{"html":"http://s-app1.taskrabbit.com/tasks/house-cleaning-7091","get":"/api/v1/tasks/52"}}'
91
+ http_version: '1.1'
@@ -2,7 +2,7 @@
2
2
  - !ruby/struct:VCR::HTTPInteraction
3
3
  request: !ruby/struct:VCR::Request
4
4
  method: :get
5
- uri: https://taskrabbitdev.com/api/v1/tasks/52?include[task][]=errors&include[task][]=links&include[task][]=error&include[task][]=id&include[task][]=name&include[task][]=user&include[task][]=runner&include[task][]=runners&include[task][]=named_price&include[task][]=charge_price&include[task][]=cost_in_cents&include[task][]=number_runners_to_fill&include[task][]=state_label&include[task][]=city_id&include[task][]=city&include[task][]=description&include[task][]=private_description&include[task][]=private_runner&include[task][]=virtual&include[task][]=state&include[task][]=assignment_type&include[task][]=complete_by_time&include[task][]=state_changed_at&include[task][]=assign_by_time&include[task][]=location_visits&include[task][]=offers&include[task][]=other_locations_attributes&include[task][]=uploaded_photos_attributes&include[task][]=uploaded_sounds_attributes
5
+ uri: https://taskrabbitdev.com:443/api/v1/tasks/52?include[task][]=errors&include[task][]=links&include[task][]=error&include[task][]=id&include[task][]=name&include[task][]=user&include[task][]=runner&include[task][]=runners&include[task][]=named_price&include[task][]=charge_price&include[task][]=cost_in_cents&include[task][]=number_runners_to_fill&include[task][]=state_label&include[task][]=geography_id&include[task][]=city&include[task][]=description&include[task][]=private_description&include[task][]=private_runner&include[task][]=virtual&include[task][]=state&include[task][]=assignment_type&include[task][]=complete_by_time&include[task][]=state_changed_at&include[task][]=assign_by_time&include[task][]=location_visits&include[task][]=offers&include[task][]=other_locations_attributes&include[task][]=uploaded_photos_attributes&include[task][]=uploaded_sounds_attributes
6
6
  body:
7
7
  headers:
8
8
  x-client-application:
@@ -17,31 +17,29 @@
17
17
  server:
18
18
  - nginx/1.0.11
19
19
  date:
20
- - Wed, 12 Sep 2012 23:03:40 GMT
20
+ - Fri, 12 Oct 2012 06:48:20 GMT
21
21
  content-type:
22
22
  - application/json; charset=utf-8
23
23
  status:
24
24
  - 200 OK
25
- x-runtime:
26
- - '0.152650'
27
- content-length:
28
- - '1417'
29
25
  etag:
30
- - ! '"1f50fdd2204ea47e6340962b9a4e95b5"'
31
- x-ua-compatible:
32
- - IE=Edge,chrome=1
26
+ - ! '"113afdc7a5baebcef5c807c002535ed0"'
33
27
  cache-control:
34
28
  - max-age=0, private, must-revalidate
35
- body: ! '{"links":{"html":"http://s-app1.taskrabbit.com/tasks/house-cleaning-7091","get":"/api/v1/tasks/52"},"runners":{"items":[]},"user":{"links":{"get":"/api/v1/users/40","avatar_url":"http://s-app1.taskrabbit.com/images/default_avatars/poster_thumb.png"},"friend_code_url":"http://taskrabbit.com/PAL/40","id":40,"short_name":"UserWith","display_name":"UserWith
36
- c.","city":{"lat":37.77493,"links":{"get":"/api/v1/cities/3"},"id":1053,"name":"SF
37
- Bay Area","lng":-122.419416},"full_name":"UserWith c."},"cost_in_cents":0,"id":52,"state_changed_at":1347490579,"description":"I
38
- need to clean my house","city":{"links":{"get":"/api/v1/cities/3"},"lat":37.77493,"id":1053,"lng":-122.419416,"name":"SF
39
- Bay Area"},"assign_by_time":1347577200,"name":"House Cleaning","state_label":"posted","complete_by_time":1347663600,"description_properties":[{"value":"I
40
- need to clean my house","key":"description","title":"Description"},{"value":"Regular
41
- Maintenance","key":"task_field_16","title":"Level of cleaning"},{"value":"Multiple
42
- Rooms, 1 Bathroom","key":"task_field_17","title":"Size of house"},{"value":"Cleaning
43
- supplies are already in the house","key":"task_field_18","title":"Do you have
44
- all the necessary cleaning supplies at your house"},{"value":1347577200,"key":"assign_by_time","title":"If
45
- unassigned, Task will expire on"},{"value":1347663600,"key":"complete_by_time","title":"Task
46
- should be completed by"}],"state":"opened"}'
29
+ x-runtime:
30
+ - '0.099208'
31
+ x-ua-compatible:
32
+ - IE=Edge,chrome=1
33
+ strict-transport-security:
34
+ - max-age=31536000
35
+ content-length:
36
+ - '1171'
37
+ body: ! '{"user":{"id":40,"short_name":"UserWith","display_name":"UserWith c.","city":{"id":1053,"lng":-122.419416,"lat":37.77493,"name":"SF
38
+ Bay Area","links":{"get":"/api/v1/cities/3"}},"full_name":"UserWith c.","links":{"avatar_url":"http://s-app1.taskrabbit.com/images/default_avatars/poster_thumb.png","get":"/api/v1/users/40"},"friend_code_url":"http://taskrabbit.com/PAL/40"},"id":52,"location_visits":{"items":[{"zip":"94102","address":"Powell
39
+ Street, San Francisco, CA","approximate_radius":0.5,"lng":-122.4054037525,"lat":37.7861750088,"complete":"Powell
40
+ Street, San Francisco, CA, San Francisco, CA 94102","city":"San Francisco","name":"Home","state":"CA","partial":"Powell
41
+ Street, San Francisco, CA, San Francisco, CA 94102"}]},"runners":{"items":[]},"cost_in_cents":0,"assign_by_time":1347577200,"state_label":"posted","description":"I
42
+ need to clean my house","city":{"id":1053,"lng":-122.419416,"lat":37.77493,"name":"SF
43
+ Bay Area","links":{"get":"/api/v1/cities/3"}},"state_changed_at":1347490579,"name":"House
44
+ Cleaning","state":"opened","complete_by_time":1347663600,"links":{"html":"http://s-app1.taskrabbit.com/tasks/house-cleaning-7091","get":"/api/v1/tasks/52"}}'
47
45
  http_version: '1.1'
@@ -1,63 +1,86 @@
1
- ---
2
- - !ruby/struct:VCR::HTTPInteraction
3
- request: !ruby/struct:VCR::Request
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
4
  method: :post
5
- uri: https://taskrabbitdev.com/api/v1/tasks?
6
- body: task[name]=My%20First%20Task&task[named_price]=20&task[city_id]=4
7
- headers:
8
- x-client-application:
5
+ uri: https://taskrabbitdev.com:443/api/v1/tasks?
6
+ body: task[description]=&task[private_description]=&task[private_runner]=false&task[virtual]=false&task[name]=My%20First%20Task&task[named_price]=20&task[geography_id]=4
7
+ headers:
8
+ x-client-application:
9
9
  - <API_SECRET>
10
- authorization:
10
+ authorization:
11
11
  - OAuth <USER_WITH_CARD>
12
- response: !ruby/struct:VCR::Response
13
- status: !ruby/struct:VCR::ResponseStatus
12
+ response: !ruby/struct:VCR::Response
13
+ status: !ruby/struct:VCR::ResponseStatus
14
14
  code: 200
15
15
  message: OK
16
- headers:
17
- etag:
18
- - "\"4407080a5492669dc9355f1113478d03\""
19
- content-type:
16
+ headers:
17
+ server:
18
+ - nginx/1.0.11
19
+ date:
20
+ - Fri, 12 Oct 2012 06:50:51 GMT
21
+ content-type:
20
22
  - application/json; charset=utf-8
21
- x-runtime:
22
- - "3284"
23
- server:
24
- - WEBrick/1.3.1 (Ruby/1.8.7/2011-02-18)
25
- date:
26
- - Sat, 17 Mar 2012 23:12:51 GMT
27
- content-length:
28
- - "677"
29
- cache-control:
30
- - private, max-age=0, must-revalidate
31
- body: "{\"name\":\"My First Task\",\"city\":{\"name\":\"New York City\",\"lng\":-74.005973,\"id\":4,\"links\":{\"get\":\"/api/v1/cities/4\"},\"lat\":40.714353},\"charge_price\":20,\"private_runner\":false,\"named_price\":20,\"complete_by_time\":1332093600,\"id\":22679,\"state_changed_at\":1332025970,\"cost_in_cents\":0,\"links\":{\"html\":\"http://local.taskrabbit.com/tasks/my-first-task--53\",\"get\":\"/api/v1/tasks/22679\",\"delete\":\"/api/v1/tasks/22679\",\"put\":\"/api/v1/tasks/22679\",\"authenticated\":\"http://local.taskrabbit.com/go/5a5d27db65887f4b787f19c3c32dbfcf59aabd1943575f7b5d9030f9b984573dbbca1e58d2cd4297b6bf0ec7ccaa3e849db9\"},\"runners\":{\"items\":[]},\"state_label\":\"posted\",\"assign_by_time\":1332082800,\"state\":\"opened\"}"
32
- http_version: "1.1"
33
- - !ruby/struct:VCR::HTTPInteraction
34
- request: !ruby/struct:VCR::Request
23
+ status:
24
+ - 200 OK
25
+ etag:
26
+ - ! '"9e056879e573f4e359fab517bb401b3c"'
27
+ cache-control:
28
+ - max-age=0, private, must-revalidate
29
+ set-cookie:
30
+ - current_geo=1053; path=/; expires=Wed, 12-Dec-2012 07:50:50 GMT; secure
31
+ x-runtime:
32
+ - '0.446353'
33
+ x-ua-compatible:
34
+ - IE=Edge,chrome=1
35
+ strict-transport-security:
36
+ - max-age=31536000
37
+ content-length:
38
+ - '1038'
39
+ body: ! '{"charge_price":20,"id":142,"named_price":20,"runners":{"items":[]},"cost_in_cents":0,"assign_by_time":1350151200,"assignment_type":"auto","description_properties":[{"value":"","title":"Description","key":"description"},{"value":"","title":"Private
40
+ description","key":"private_description"},{"value":1350151200,"title":"If unassigned,
41
+ Task will expire on","key":"assign_by_time"},{"value":1350237600,"title":"Task
42
+ should be completed by","key":"complete_by_time"}],"state_label":"posted","city":{"id":1053,"lng":-122.419416,"lat":37.77493,"name":"SF
43
+ Bay Area","links":{"get":"/api/v1/cities/3"}},"state_changed_at":1350024650,"name":"My
44
+ First Task","state":"opened","private_runner":false,"complete_by_time":1350237600,"runner_fee":0,"links":{"put":"/api/v1/tasks/142","html":"http://s-app1.taskrabbit.com/tasks/my-first-task--16","get":"/api/v1/tasks/142","authenticated":"http://s-app1.taskrabbit.com/go/0cac931143e6c5d187b614558664b7b57989847b9d14658861928639edb4ce4f63687d762e68b12a8f51272dbfe47c5f0bc3","delete":"/api/v1/tasks/142"}}'
45
+ http_version: '1.1'
46
+ - !ruby/struct:VCR::HTTPInteraction
47
+ request: !ruby/struct:VCR::Request
35
48
  method: :get
36
- uri: https://taskrabbitdev.com/api/v1/tasks/22679?include[task][]=errors&include[task][]=links&include[task][]=error&include[task][]=id&include[task][]=name&include[task][]=user&include[task][]=runner&include[task][]=runners&include[task][]=named_price&include[task][]=charge_price&include[task][]=cost_in_cents&include[task][]=number_runners_to_fill&include[task][]=state_label&include[task][]=city_id&include[task][]=city&include[task][]=description&include[task][]=private_description&include[task][]=private_runner&include[task][]=virtual&include[task][]=state&include[task][]=assignment_type&include[task][]=complete_by_time&include[task][]=state_changed_at&include[task][]=assign_by_time&include[task][]=location_visits&include[task][]=offers&include[task][]=other_locations_attributes&include[task][]=uploaded_photos_attributes&include[task][]=uploaded_sounds_attributes
49
+ uri: https://taskrabbitdev.com:443/api/v1/tasks/142?include[task][]=errors&include[task][]=links&include[task][]=error&include[task][]=id&include[task][]=name&include[task][]=user&include[task][]=runner&include[task][]=runners&include[task][]=named_price&include[task][]=charge_price&include[task][]=cost_in_cents&include[task][]=number_runners_to_fill&include[task][]=state_label&include[task][]=geography_id&include[task][]=city&include[task][]=description&include[task][]=private_description&include[task][]=private_runner&include[task][]=virtual&include[task][]=state&include[task][]=assignment_type&include[task][]=complete_by_time&include[task][]=state_changed_at&include[task][]=assign_by_time&include[task][]=location_visits&include[task][]=offers&include[task][]=other_locations_attributes&include[task][]=uploaded_photos_attributes&include[task][]=uploaded_sounds_attributes
37
50
  body:
38
- headers:
39
- x-client-application:
51
+ headers:
52
+ x-client-application:
40
53
  - <API_SECRET>
41
- authorization:
54
+ authorization:
42
55
  - OAuth <USER_WITH_CARD>
43
- response: !ruby/struct:VCR::Response
44
- status: !ruby/struct:VCR::ResponseStatus
56
+ response: !ruby/struct:VCR::Response
57
+ status: !ruby/struct:VCR::ResponseStatus
45
58
  code: 200
46
59
  message: OK
47
- headers:
48
- etag:
49
- - "\"4407080a5492669dc9355f1113478d03\""
50
- content-type:
60
+ headers:
61
+ server:
62
+ - nginx/1.0.11
63
+ date:
64
+ - Fri, 12 Oct 2012 06:50:51 GMT
65
+ content-type:
51
66
  - application/json; charset=utf-8
52
- x-runtime:
53
- - "1425"
54
- server:
55
- - WEBrick/1.3.1 (Ruby/1.8.7/2011-02-18)
56
- date:
57
- - Sat, 17 Mar 2012 23:12:53 GMT
58
- content-length:
59
- - "677"
60
- cache-control:
61
- - private, max-age=0, must-revalidate
62
- body: "{\"name\":\"My First Task\",\"city\":{\"name\":\"New York City\",\"lng\":-74.005973,\"id\":4,\"links\":{\"get\":\"/api/v1/cities/4\"},\"lat\":40.714353},\"charge_price\":20,\"private_runner\":false,\"named_price\":20,\"complete_by_time\":1332093600,\"id\":22679,\"state_changed_at\":1332025970,\"cost_in_cents\":0,\"links\":{\"html\":\"http://local.taskrabbit.com/tasks/my-first-task--53\",\"get\":\"/api/v1/tasks/22679\",\"delete\":\"/api/v1/tasks/22679\",\"put\":\"/api/v1/tasks/22679\",\"authenticated\":\"http://local.taskrabbit.com/go/5a5d27db65887f4b787f19c3c32dbfcf59aabd1943575f7b5d9030f9b984573dbbca1e58d2cd4297b6bf0ec7ccaa3e849db9\"},\"runners\":{\"items\":[]},\"state_label\":\"posted\",\"assign_by_time\":1332082800,\"state\":\"opened\"}"
63
- http_version: "1.1"
67
+ status:
68
+ - 200 OK
69
+ etag:
70
+ - ! '"42735da7ee4768cc1b0b3d64b3eb8fe5"'
71
+ cache-control:
72
+ - max-age=0, private, must-revalidate
73
+ set-cookie:
74
+ - current_geo=1053; path=/; expires=Wed, 12-Dec-2012 07:50:51 GMT; secure
75
+ x-runtime:
76
+ - '0.158178'
77
+ x-ua-compatible:
78
+ - IE=Edge,chrome=1
79
+ strict-transport-security:
80
+ - max-age=31536000
81
+ content-length:
82
+ - '728'
83
+ body: ! '{"charge_price":20,"id":142,"named_price":20,"location_visits":{"items":[]},"runners":{"items":[]},"cost_in_cents":0,"assign_by_time":1350151200,"assignment_type":"auto","state_label":"posted","city":{"id":1053,"lng":-122.419416,"lat":37.77493,"name":"SF
84
+ Bay Area","links":{"get":"/api/v1/cities/3"}},"state_changed_at":1350024650,"name":"My
85
+ First Task","state":"opened","private_runner":false,"complete_by_time":1350237600,"links":{"put":"/api/v1/tasks/142","html":"http://s-app1.taskrabbit.com/tasks/my-first-task--16","get":"/api/v1/tasks/142","authenticated":"http://s-app1.taskrabbit.com/go/0cac931143e6c5d187b614558664b7b57989847b9d14658861928639edb4ce4f63687d762e68b12a8f51272dbfe47c5f0bc3","delete":"/api/v1/tasks/142"}}'
86
+ http_version: '1.1'
@@ -1,63 +1,89 @@
1
- ---
2
- - !ruby/struct:VCR::HTTPInteraction
3
- request: !ruby/struct:VCR::Request
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
4
  method: :post
5
- uri: https://taskrabbitdev.com/api/v1/tasks?
6
- body: task[name]=My%20First%20Task&task[named_price]=20&task[city_id]=4
7
- headers:
8
- x-client-application:
5
+ uri: https://taskrabbitdev.com:443/api/v1/tasks?
6
+ body: task[description]=&task[private_description]=&task[private_runner]=false&task[virtual]=false&task[name]=My%20First%20Task&task[named_price]=20&task[geography_id]=4
7
+ headers:
8
+ x-client-application:
9
9
  - <API_SECRET>
10
- authorization:
10
+ authorization:
11
11
  - OAuth <USER_WITH_CARD>
12
- response: !ruby/struct:VCR::Response
13
- status: !ruby/struct:VCR::ResponseStatus
12
+ response: !ruby/struct:VCR::Response
13
+ status: !ruby/struct:VCR::ResponseStatus
14
14
  code: 200
15
15
  message: OK
16
- headers:
17
- etag:
18
- - "\"3e2534e6d1fbd01d8fd94342e21bf9c3\""
19
- content-type:
16
+ headers:
17
+ server:
18
+ - nginx/1.0.11
19
+ date:
20
+ - Fri, 12 Oct 2012 06:51:03 GMT
21
+ content-type:
20
22
  - application/json; charset=utf-8
21
- x-runtime:
22
- - "4727"
23
- server:
24
- - WEBrick/1.3.1 (Ruby/1.8.7/2011-02-18)
25
- date:
26
- - Sat, 17 Mar 2012 23:12:59 GMT
27
- content-length:
28
- - "677"
29
- cache-control:
30
- - private, max-age=0, must-revalidate
31
- body: "{\"name\":\"My First Task\",\"city\":{\"name\":\"New York City\",\"lng\":-74.005973,\"id\":4,\"links\":{\"get\":\"/api/v1/cities/4\"},\"lat\":40.714353},\"charge_price\":20,\"private_runner\":false,\"named_price\":20,\"complete_by_time\":1332093600,\"id\":22680,\"state_changed_at\":1332025978,\"cost_in_cents\":0,\"links\":{\"html\":\"http://local.taskrabbit.com/tasks/my-first-task--54\",\"get\":\"/api/v1/tasks/22680\",\"delete\":\"/api/v1/tasks/22680\",\"put\":\"/api/v1/tasks/22680\",\"authenticated\":\"http://local.taskrabbit.com/go/ee139b2757bbbf6c4eee502816d10ccc2e8ed72f608a44f3a3ba4d902e7d9f42f7411102b41821050c3f0a2be896dd812140\"},\"runners\":{\"items\":[]},\"state_label\":\"posted\",\"assign_by_time\":1332082800,\"state\":\"opened\"}"
32
- http_version: "1.1"
33
- - !ruby/struct:VCR::HTTPInteraction
34
- request: !ruby/struct:VCR::Request
23
+ status:
24
+ - 200 OK
25
+ etag:
26
+ - ! '"62aa2b40958e5d7c6ba7987a552f3126"'
27
+ cache-control:
28
+ - max-age=0, private, must-revalidate
29
+ set-cookie:
30
+ - current_geo=1053; path=/; expires=Wed, 12-Dec-2012 07:51:03 GMT; secure
31
+ x-runtime:
32
+ - '0.435780'
33
+ x-ua-compatible:
34
+ - IE=Edge,chrome=1
35
+ strict-transport-security:
36
+ - max-age=31536000
37
+ content-length:
38
+ - '1038'
39
+ body: ! '{"charge_price":20,"id":143,"named_price":20,"runners":{"items":[]},"cost_in_cents":0,"assign_by_time":1350151200,"assignment_type":"auto","description_properties":[{"value":"","title":"Description","key":"description"},{"value":"","title":"Private
40
+ description","key":"private_description"},{"value":1350151200,"title":"If unassigned,
41
+ Task will expire on","key":"assign_by_time"},{"value":1350237600,"title":"Task
42
+ should be completed by","key":"complete_by_time"}],"state_label":"posted","city":{"id":1053,"lng":-122.419416,"lat":37.77493,"name":"SF
43
+ Bay Area","links":{"get":"/api/v1/cities/3"}},"state_changed_at":1350024663,"name":"My
44
+ First Task","state":"opened","private_runner":false,"complete_by_time":1350237600,"runner_fee":0,"links":{"put":"/api/v1/tasks/143","html":"http://s-app1.taskrabbit.com/tasks/my-first-task--17","get":"/api/v1/tasks/143","authenticated":"http://s-app1.taskrabbit.com/go/16efc3604f4d592ae53b449187179fb829a8341090382ca5a7007f5fdac6a44e73b296d29f98824a5f8e7bff3b7772d9da3e","delete":"/api/v1/tasks/143"}}'
45
+ http_version: '1.1'
46
+ - !ruby/struct:VCR::HTTPInteraction
47
+ request: !ruby/struct:VCR::Request
35
48
  method: :put
36
- uri: https://taskrabbitdev.com/api/v1/tasks/22680?
37
- body: name=New%20Name&id=22680
38
- headers:
39
- x-client-application:
49
+ uri: https://taskrabbitdev.com:443/api/v1/tasks/143?
50
+ body: description=&private_description=&private_runner=false&virtual=false&id=143&name=New%20Name
51
+ headers:
52
+ x-client-application:
40
53
  - <API_SECRET>
41
- authorization:
54
+ authorization:
42
55
  - OAuth <USER_WITH_CARD>
43
- response: !ruby/struct:VCR::Response
44
- status: !ruby/struct:VCR::ResponseStatus
56
+ response: !ruby/struct:VCR::Response
57
+ status: !ruby/struct:VCR::ResponseStatus
45
58
  code: 200
46
59
  message: OK
47
- headers:
48
- etag:
49
- - "\"8331cd17eb90f131337fc675d2d0fc5a\""
50
- content-type:
60
+ headers:
61
+ server:
62
+ - nginx/1.0.11
63
+ date:
64
+ - Fri, 12 Oct 2012 06:51:04 GMT
65
+ content-type:
51
66
  - application/json; charset=utf-8
52
- x-runtime:
53
- - "2003"
54
- server:
55
- - WEBrick/1.3.1 (Ruby/1.8.7/2011-02-18)
56
- date:
57
- - Sat, 17 Mar 2012 23:13:02 GMT
58
- content-length:
59
- - "666"
60
- cache-control:
61
- - private, max-age=0, must-revalidate
62
- body: "{\"name\":\"New Name\",\"city\":{\"name\":\"New York City\",\"lng\":-74.005973,\"id\":4,\"links\":{\"get\":\"/api/v1/cities/4\"},\"lat\":40.714353},\"charge_price\":20,\"private_runner\":false,\"named_price\":20,\"complete_by_time\":1332093600,\"id\":22680,\"state_changed_at\":1332025978,\"cost_in_cents\":0,\"links\":{\"html\":\"http://local.taskrabbit.com/tasks/new-name--4\",\"get\":\"/api/v1/tasks/22680\",\"delete\":\"/api/v1/tasks/22680\",\"put\":\"/api/v1/tasks/22680\",\"authenticated\":\"http://local.taskrabbit.com/go/78196cf7905ad6c4b1fb0e4df943b284253a8880163ee3675cdf4b06a9b9de63f6b1cc198064ac121d7afce702d81be0fb03\"},\"runners\":{\"items\":[]},\"state_label\":\"posted\",\"assign_by_time\":1332082800,\"state\":\"opened\"}"
63
- http_version: "1.1"
67
+ status:
68
+ - 200 OK
69
+ etag:
70
+ - ! '"88da9728a352281ecfbf3f2e9de776f5"'
71
+ cache-control:
72
+ - max-age=0, private, must-revalidate
73
+ set-cookie:
74
+ - current_geo=1053; path=/; expires=Wed, 12-Dec-2012 07:51:04 GMT; secure
75
+ x-runtime:
76
+ - '0.485258'
77
+ x-ua-compatible:
78
+ - IE=Edge,chrome=1
79
+ strict-transport-security:
80
+ - max-age=31536000
81
+ content-length:
82
+ - '1024'
83
+ body: ! '{"charge_price":20,"id":143,"named_price":20,"runners":{"items":[]},"cost_in_cents":0,"assign_by_time":1350151200,"assignment_type":"auto","description_properties":[{"value":"","title":"Description","key":"description"},{"value":"","title":"Private
84
+ description","key":"private_description"},{"value":1350151200,"title":"If unassigned,
85
+ Task will expire on","key":"assign_by_time"},{"value":1350237600,"title":"Task
86
+ should be completed by","key":"complete_by_time"}],"state_label":"posted","city":{"id":1053,"lng":-122.419416,"lat":37.77493,"name":"SF
87
+ Bay Area","links":{"get":"/api/v1/cities/3"}},"state_changed_at":1350024663,"name":"New
88
+ Name","state":"opened","private_runner":false,"complete_by_time":1350237600,"runner_fee":0,"links":{"put":"/api/v1/tasks/143","html":"http://s-app1.taskrabbit.com/tasks/new-name","get":"/api/v1/tasks/143","authenticated":"http://s-app1.taskrabbit.com/go/de977e86f3919b5c68143b8f921a2967beceb73b280a98bcd300ae33c1aca34d4688974006489b6e48eeea61fa64847b8342","delete":"/api/v1/tasks/143"}}'
89
+ http_version: '1.1'
@@ -2,11 +2,11 @@
2
2
  - !ruby/struct:VCR::HTTPInteraction
3
3
  request: !ruby/struct:VCR::Request
4
4
  method: :get
5
- uri: https://taskrabbitdev.com:443/api/v1/tasks/52?include[task][]=errors&include[task][]=links&include[task][]=error&include[task][]=id&include[task][]=name&include[task][]=user&include[task][]=runner&include[task][]=runners&include[task][]=named_price&include[task][]=charge_price&include[task][]=cost_in_cents&include[task][]=number_runners_to_fill&include[task][]=state_label&include[task][]=city_id&include[task][]=city&include[task][]=description&include[task][]=private_description&include[task][]=private_runner&include[task][]=virtual&include[task][]=state&include[task][]=assignment_type&include[task][]=complete_by_time&include[task][]=state_changed_at&include[task][]=assign_by_time&include[task][]=location_visits&include[task][]=offers&include[task][]=other_locations_attributes&include[task][]=uploaded_photos_attributes&include[task][]=uploaded_sounds_attributes
5
+ uri: https://taskrabbitdev.com:443/api/v1/tasks/52?include[task][]=errors&include[task][]=links&include[task][]=error&include[task][]=id&include[task][]=name&include[task][]=user&include[task][]=runner&include[task][]=runners&include[task][]=named_price&include[task][]=charge_price&include[task][]=cost_in_cents&include[task][]=number_runners_to_fill&include[task][]=state_label&include[task][]=geography_id&include[task][]=city&include[task][]=description&include[task][]=private_description&include[task][]=private_runner&include[task][]=virtual&include[task][]=state&include[task][]=assignment_type&include[task][]=complete_by_time&include[task][]=state_changed_at&include[task][]=assign_by_time&include[task][]=location_visits&include[task][]=offers&include[task][]=other_locations_attributes&include[task][]=uploaded_photos_attributes&include[task][]=uploaded_sounds_attributes
6
6
  body:
7
7
  headers:
8
8
  x-client-application:
9
- - ''
9
+ - <API_SECRET>
10
10
  authorization:
11
11
  - OAuth <USER_WITH_CARD>
12
12
  response: !ruby/struct:VCR::Response
@@ -17,29 +17,34 @@
17
17
  server:
18
18
  - nginx/1.0.11
19
19
  date:
20
- - Thu, 13 Sep 2012 00:52:45 GMT
20
+ - Fri, 12 Oct 2012 06:46:47 GMT
21
21
  content-type:
22
22
  - application/json; charset=utf-8
23
23
  status:
24
24
  - 200 OK
25
+ etag:
26
+ - ! '"89723b9588a3437174afd3e3613e01cb"'
27
+ cache-control:
28
+ - max-age=0, private, must-revalidate
25
29
  set-cookie:
26
- - current_geo=1053; path=/; expires=Tue, 13-Nov-2012 01:52:45 GMT
30
+ - current_geo=1053; path=/; expires=Wed, 12-Dec-2012 07:46:47 GMT; secure
27
31
  x-runtime:
28
- - '0.186363'
29
- content-length:
30
- - '1245'
31
- etag:
32
- - ! '"1bb05d4c694e2dc4ee9b37e66b3175ba"'
32
+ - '0.288597'
33
33
  x-ua-compatible:
34
34
  - IE=Edge,chrome=1
35
- cache-control:
36
- - max-age=0, private, must-revalidate
37
- body: ! '{"private_runner":false,"links":{"put":"/api/v1/tasks/52","html":"http://s-app1.taskrabbit.com/tasks/house-cleaning-7091","get":"/api/v1/tasks/52","offers":"/api/v1/tasks/52/offers","authenticated":"http://s-app1.taskrabbit.com/go/82d359e524666a2d8b96f6df1fbfcad4a720a0b4fed8c3f0985139a13a4d6433b65f7f05e80360af131d8f9638f8307e035b","delete":"/api/v1/tasks/52"},"charge_price":0,"runners":{"items":[]},"cost_in_cents":0,"id":52,"state_changed_at":1347490579,"assignment_type":"review","description":"I
38
- need to clean my house","city":{"links":{"get":"/api/v1/cities/3"},"lat":37.77493,"id":1053,"lng":-122.419416,"name":"SF
39
- Bay Area"},"assign_by_time":1347577200,"name":"House Cleaning","offers":{"items":[{"charge_price":26, "runner_id": 31, "id":7,"created_at":1347493865,"comments":"I
40
- clean a lot!","state":"sent"}]},"location_visits":{"items":[{"lat":37.7867363,"zip":"94102","id":11,"complete":"213
41
- Powell Street, San Francisco, CA, San Francisco, CA 94102","partial":"Powell
42
- Street, San Francisco, CA, San Francisco, CA 94102","location_id":52,"lng":-122.4080542,"city":"San
43
- Francisco","name":"Home","approximate_radius":0,"address":"213 Powell Street,
44
- San Francisco, CA","state":"CA"}]},"state_label":"posted","complete_by_time":1347663600,"state":"opened"}'
35
+ strict-transport-security:
36
+ - max-age=31536000
37
+ content-length:
38
+ - '1719'
39
+ body: ! '{"charge_price":0,"id":52,"location_visits":{"items":[{"id":11,"zip":"94102","address":"213
40
+ Powell Street, San Francisco, CA","approximate_radius":0,"lng":-122.4080542,"lat":37.7867363,"complete":"213
41
+ Powell Street, San Francisco, CA, San Francisco, CA 94102","city":"San Francisco","name":"Home","state":"CA","location_id":52,"partial":"Powell
42
+ Street, San Francisco, CA, San Francisco, CA 94102"}]},"runners":{"items":[]},"cost_in_cents":0,"assign_by_time":1347577200,"assignment_type":"review","state_label":"posted","description":"I
43
+ need to clean my house","offers":{"items":[{"id":7,"charge_price":26,"runner_id":32,"state":"sent","runner":{"id":32,"short_name":"John","runner_level":1,"display_name":"John
44
+ R.","city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New York City","links":{"get":"/api/v1/cities/4"}},"mobile_phone":"856
45
+ 938 6494","runner":true,"email":"fancyrabbit@example.com","full_name":"John
46
+ R.","friend_code_url":"http://taskrabbit.com/PAL/32","links":{"get":"/api/v1/users/32","avatar_url":"http://s-app1.taskrabbit.com/images/default_avatars/runner_thumb.png"}},"created_at":1347493865,"comments":"I
47
+ clean a lot!"}]},"city":{"id":1053,"lng":-122.419416,"lat":37.77493,"name":"SF
48
+ Bay Area","links":{"get":"/api/v1/cities/3"}},"state_changed_at":1347490579,"name":"House
49
+ Cleaning","state":"opened","private_runner":false,"complete_by_time":1347663600,"links":{"put":"/api/v1/tasks/52","html":"http://s-app1.taskrabbit.com/tasks/house-cleaning-7091","offers":"/api/v1/tasks/52/offers","get":"/api/v1/tasks/52","authenticated":"http://s-app1.taskrabbit.com/go/82d359e524666a2d8b96f6df1fbfcad4a720a0b4fed8c3f0985139a13a4d6433b65f7f05e80360af131d8f9638f8307e035b","delete":"/api/v1/tasks/52"}}'
45
50
  http_version: '1.1'