taskrabbit 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -28,7 +28,11 @@ module Taskrabbit
28
28
  property :uploaded_photos_attributes
29
29
  property :uploaded_sounds_attributes
30
30
 
31
+ @attributes_to_clear = [:other_locations_attributes, :uploaded_photos_attributes, :uploaded_sounds_attributes]
32
+
31
33
  class << self
34
+ attr_reader :attributes_to_clear
35
+
32
36
  def all(scope, options = {})
33
37
  scope.request('get', scope.association_path(self), Api::collection_transformers[self], options_with_class_includes(options))
34
38
  end
@@ -42,7 +46,7 @@ module Taskrabbit
42
46
  def options_with_class_includes(options = {})
43
47
  options.merge(:extra_query => {:include => {:task => properties.to_a}})
44
48
  end
45
- end
49
+ end
46
50
 
47
51
  def fetch
48
52
  reload('get', "tasks/#{id.to_s}") unless id.nil?
@@ -72,8 +76,14 @@ module Taskrabbit
72
76
  end
73
77
 
74
78
  def reload(method, path, options = {})
75
- options = self.class.options_with_class_includes(options) if method.to_s == 'get'
76
- super(method, path, options)
79
+ options = self.class.options_with_class_includes(options) if method.to_s == 'get'
80
+ reloaded_task = super(method, path, options)
81
+ clear_update_attributes
82
+ reloaded_task
83
+ end
84
+
85
+ def clear_update_attributes
86
+ delete_if { |k, v| self.class.attributes_to_clear.include?(k.to_sym) }
77
87
  end
78
88
  end
79
89
  end
@@ -1,3 +1,3 @@
1
1
  module Taskrabbit
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
@@ -1,63 +1,170 @@
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: :get
5
- uri: https://taskrabbitdev.com/api/v1/account?
5
+ uri: https://taskrabbitdev.com:443/api/v1/account?
6
6
  body:
7
- headers:
7
+ headers:
8
8
  x-client-application:
9
9
  - <API_SECRET>
10
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
- - "\"1e7456943686e7860596b08fd8493a2b\""
19
- content-type:
16
+ headers:
17
+ server:
18
+ - nginx/1.0.11
19
+ date:
20
+ - Fri, 12 Oct 2012 06:45:29 GMT
21
+ content-type:
20
22
  - application/json; charset=utf-8
21
- x-runtime:
22
- - "3887"
23
- server:
24
- - WEBrick/1.3.1 (Ruby/1.8.7/2011-02-18)
25
- date:
26
- - Sat, 17 Mar 2012 23:12:20 GMT
27
- content-length:
28
- - "2956"
29
- cache-control:
30
- - private, max-age=0, must-revalidate
31
- body: "{\"city\":{\"name\":\"SF Bay Area\",\"lng\":-122.419416,\"id\":3,\"links\":{\"get\":\"/api/v1/cities/3\"},\"lat\":37.77493},\"zip_code\":\"64321\",\"id\":49720,\"tasks\":{\"items\":[{\"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\":22673,\"state_changed_at\":1332025380,\"cost_in_cents\":0,\"links\":{\"html\":\"http://local.taskrabbit.com/tasks/my-first-task--47\",\"get\":\"/api/v1/tasks/22673\",\"delete\":\"/api/v1/tasks/22673\",\"put\":\"/api/v1/tasks/22673\",\"authenticated\":\"http://local.taskrabbit.com/go/2f249e87a04016d741f163fe991468737e367c8e334eb5d5a53a63d741ce0019ba1a9c33366a76cadc06bdcb9259c5549a44\"},\"runners\":{\"items\":[]},\"state_label\":\"posted\",\"assign_by_time\":1332082800,\"state\":\"opened\"},{\"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\":22674,\"state_changed_at\":1332025387,\"cost_in_cents\":0,\"links\":{\"html\":\"http://local.taskrabbit.com/tasks/new-name--3\",\"get\":\"/api/v1/tasks/22674\",\"delete\":\"/api/v1/tasks/22674\",\"put\":\"/api/v1/tasks/22674\",\"authenticated\":\"http://local.taskrabbit.com/go/459b5e05e7a6542891148717ed9cdd4a25fb5d5f71f094c098a93beb25ba26303c4ea5e2c8e01da3743703abbe1da5b46980\"},\"runners\":{\"items\":[]},\"state_label\":\"posted\",\"assign_by_time\":1332082800,\"state\":\"opened\"},{\"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\":22675,\"state_changed_at\":1332025394,\"cost_in_cents\":0,\"links\":{\"html\":\"http://local.taskrabbit.com/tasks/my-first-task--49\",\"get\":\"/api/v1/tasks/22675\",\"delete\":\"/api/v1/tasks/22675\",\"put\":\"/api/v1/tasks/22675\",\"authenticated\":\"http://local.taskrabbit.com/go/a89862d84f6a3b8b3175c46bc824ba3c4086519395730898237d56ef90ad672e540e62370c6a87b6c6ec2f601c10e2486ba7\"},\"runners\":{\"items\":[]},\"state_label\":\"posted\",\"assign_by_time\":1332082800,\"state\":\"opened\"}],\"links\":{\"get\":\"/api/v1/users/49720/tasks\",\"last\":\"/api/v1/users/49720/tasks?page=1\",\"first\":\"/api/v1/users/49720/tasks?page=1\"}},\"short_name\":\"Bob\",\"full_name\":\"Bob Sponge\",\"last_name\":\"Sponge\",\"links\":{\"get\":\"/api/v1/users/49720\",\"avatar_url\":\"http://local.taskrabbit.com/images/default_avatars/poster_thumb.png\"},\"display_name\":\"Bob S.\",\"locations\":{\"items\":[{\"name\":\"Home\",\"city\":\"San Francisco\",\"approximate_radius\":0,\"address\":\"432 example\",\"zip\":\"94123\",\"partial\":\"example, San Francisco, Ca 94123\",\"id\":37439,\"lng\":2.108266,\"complete\":\"432 example, San Francisco, Ca 94123\",\"lat\":41.5512199,\"state\":\"Ca\"}],\"links\":{\"get\":\"/api/v1/users/49720/locations\"}},\"email\":\"bobsponge@example.com\",\"first_name\":\"Bob\",\"counts\":{\"posted_tasks\":30,\"active_tasks\":3,\"ongoing_tasks\":3}}"
32
- http_version: "1.1"
33
- - !ruby/struct:VCR::HTTPInteraction
34
- request: !ruby/struct:VCR::Request
23
+ status:
24
+ - 200 OK
25
+ etag:
26
+ - ! '"d78c0ad1e94210d81432fa397347e602"'
27
+ cache-control:
28
+ - max-age=0, private, must-revalidate
29
+ set-cookie:
30
+ - current_geo=1053; path=/; expires=Wed, 12-Dec-2012 07:45:28 GMT; secure
31
+ x-runtime:
32
+ - '0.778543'
33
+ x-ua-compatible:
34
+ - IE=Edge,chrome=1
35
+ strict-transport-security:
36
+ - max-age=31536000
37
+ content-length:
38
+ - '11874'
39
+ body: ! '{"counts":{"ongoing_tasks":10,"active_tasks":10,"posted_tasks":10},"zip_code":"12345","id":40,"first_name":"UserWith","short_name":"UserWith","tasks":{"items":[{"id":132,"charge_price":20,"named_price":20,"runners":{"items":[]},"assign_by_time":1701465000,"cost_in_cents":0,"state_label":"posted","description_properties":[{"value":"","title":"Description","key":"description"},{"value":"","title":"Private
40
+ description","key":"private_description"},{"value":1701465000,"title":"If unassigned,
41
+ Task will expire on","key":"assign_by_time"},{"value":1702411800,"title":"Task
42
+ should be completed by","key":"complete_by_time"}],"assignment_type":"auto","name":"My
43
+ First Task","state_changed_at":1349847538,"city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New
44
+ York City","links":{"get":"/api/v1/cities/4"}},"state":"opened","private_runner":false,"complete_by_time":1702411800,"links":{"put":"/api/v1/tasks/132","html":"http://s-app1.taskrabbit.com/tasks/my-first-task--15","get":"/api/v1/tasks/132","delete":"/api/v1/tasks/132","authenticated":"http://s-app1.taskrabbit.com/go/f628a10b1384beb11bd617706d93ecec821e47520a27c9cd0b71f64399e289ec3d66c5d247d6248768f2a5fb47a7267e7360"},"runner_fee":0},{"id":131,"charge_price":20,"named_price":20,"runners":{"items":[]},"assign_by_time":1701465000,"cost_in_cents":0,"state_label":"posted","description_properties":[{"value":"","title":"Description","key":"description"},{"value":"","title":"Private
45
+ description","key":"private_description"},{"value":1701465000,"title":"If unassigned,
46
+ Task will expire on","key":"assign_by_time"},{"value":1702411800,"title":"Task
47
+ should be completed by","key":"complete_by_time"}],"assignment_type":"auto","name":"My
48
+ First Task","state_changed_at":1349847522,"city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New
49
+ York City","links":{"get":"/api/v1/cities/4"}},"state":"opened","private_runner":false,"complete_by_time":1702411800,"links":{"put":"/api/v1/tasks/131","html":"http://s-app1.taskrabbit.com/tasks/my-first-task--14","get":"/api/v1/tasks/131","delete":"/api/v1/tasks/131","authenticated":"http://s-app1.taskrabbit.com/go/5c6933037d30c2f6e76efbe1a67b013d0211c1199f60a01221c7883fe9621ca894f4dc723a01ba9c10b9743067af593083db"},"runner_fee":0},{"id":130,"charge_price":20,"named_price":20,"runners":{"items":[]},"assign_by_time":1701465000,"cost_in_cents":0,"state_label":"posted","description_properties":[{"value":"","title":"Description","key":"description"},{"value":"","title":"Private
50
+ description","key":"private_description"},{"value":1701465000,"title":"If unassigned,
51
+ Task will expire on","key":"assign_by_time"},{"value":1702411800,"title":"Task
52
+ should be completed by","key":"complete_by_time"}],"assignment_type":"auto","name":"My
53
+ First Task","state_changed_at":1349847489,"city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New
54
+ York City","links":{"get":"/api/v1/cities/4"}},"state":"opened","private_runner":false,"complete_by_time":1702411800,"links":{"put":"/api/v1/tasks/130","html":"http://s-app1.taskrabbit.com/tasks/my-first-task--13","get":"/api/v1/tasks/130","delete":"/api/v1/tasks/130","authenticated":"http://s-app1.taskrabbit.com/go/3bd73d5b9985872d7653dfc6c0167bbd5b5f5eb639074ab503af8c3af59fe3dfe1635cbb9a0e313d187ed3e1edcc3b11e5f4"},"runner_fee":0},{"id":129,"charge_price":20,"named_price":20,"runners":{"items":[]},"assign_by_time":1349967600,"cost_in_cents":0,"state_label":"posted","description_properties":[{"value":"","title":"Description","key":"description"},{"value":"","title":"Private
55
+ description","key":"private_description"},{"value":1349967600,"title":"If unassigned,
56
+ Task will expire on","key":"assign_by_time"},{"value":1350054000,"title":"Task
57
+ should be completed by","key":"complete_by_time"}],"assignment_type":"auto","name":"My
58
+ First Task","state_changed_at":1349846366,"city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New
59
+ York City","links":{"get":"/api/v1/cities/4"}},"state":"opened","private_runner":false,"complete_by_time":1350054000,"links":{"put":"/api/v1/tasks/129","html":"http://s-app1.taskrabbit.com/tasks/my-first-task--12","get":"/api/v1/tasks/129","delete":"/api/v1/tasks/129","authenticated":"http://s-app1.taskrabbit.com/go/e817145624145f9f56a6f91512df237f9aa5b0eec61552e5ededcd2ec10b4808d77aaa3b2b77c20a67df9406efda6ef4c059"},"runner_fee":0},{"id":128,"charge_price":20,"named_price":20,"runners":{"items":[]},"assign_by_time":1349967600,"cost_in_cents":0,"state_label":"posted","description_properties":[{"value":"","title":"Description","key":"description"},{"value":"","title":"Private
60
+ description","key":"private_description"},{"value":1349967600,"title":"If unassigned,
61
+ Task will expire on","key":"assign_by_time"},{"value":1350054000,"title":"Task
62
+ should be completed by","key":"complete_by_time"}],"assignment_type":"auto","name":"My
63
+ First Task","state_changed_at":1349845814,"city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New
64
+ York City","links":{"get":"/api/v1/cities/4"}},"state":"opened","private_runner":false,"complete_by_time":1350054000,"links":{"put":"/api/v1/tasks/128","html":"http://s-app1.taskrabbit.com/tasks/my-first-task--11","get":"/api/v1/tasks/128","delete":"/api/v1/tasks/128","authenticated":"http://s-app1.taskrabbit.com/go/f8fa19d12f798f1a41ed64c16f30f3dd8acae33ac85c54da5c6d2332930ce73fac93986272784822ccef4d6c6e2609ead538"},"runner_fee":0},{"id":127,"charge_price":20,"named_price":20,"runners":{"items":[]},"assign_by_time":1349967600,"cost_in_cents":0,"state_label":"posted","description_properties":[{"value":"","title":"Description","key":"description"},{"value":"","title":"Private
65
+ description","key":"private_description"},{"value":1349967600,"title":"If unassigned,
66
+ Task will expire on","key":"assign_by_time"},{"value":1350054000,"title":"Task
67
+ should be completed by","key":"complete_by_time"}],"assignment_type":"auto","name":"My
68
+ First Task","state_changed_at":1349845803,"city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New
69
+ York City","links":{"get":"/api/v1/cities/4"}},"state":"opened","private_runner":false,"complete_by_time":1350054000,"links":{"put":"/api/v1/tasks/127","html":"http://s-app1.taskrabbit.com/tasks/my-first-task--10","get":"/api/v1/tasks/127","delete":"/api/v1/tasks/127","authenticated":"http://s-app1.taskrabbit.com/go/3558774ebd06622a5abba64f122f6be8ff42f078e2519940b52ed773487edbe55f4bf3bbb2104eb6bdfb76e7dc4c46aef1ad"},"runner_fee":0},{"id":126,"charge_price":20,"named_price":20,"runners":{"items":[]},"assign_by_time":1349967600,"cost_in_cents":0,"state_label":"posted","description_properties":[{"value":"","title":"Description","key":"description"},{"value":"","title":"Private
70
+ description","key":"private_description"},{"value":1349967600,"title":"If unassigned,
71
+ Task will expire on","key":"assign_by_time"},{"value":1350054000,"title":"Task
72
+ should be completed by","key":"complete_by_time"}],"assignment_type":"auto","name":"My
73
+ First Task","state_changed_at":1349845784,"city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New
74
+ York City","links":{"get":"/api/v1/cities/4"}},"state":"opened","private_runner":false,"complete_by_time":1350054000,"links":{"put":"/api/v1/tasks/126","html":"http://s-app1.taskrabbit.com/tasks/my-first-task--9","get":"/api/v1/tasks/126","delete":"/api/v1/tasks/126","authenticated":"http://s-app1.taskrabbit.com/go/7d0f998b5d25d012e0673962418daac1b4823bd5ad44e580f575d692ea510dd3c34fd5eac8a9d8437ec08430ff6cd5e8d9c0"},"runner_fee":0},{"id":125,"charge_price":20,"named_price":20,"runners":{"items":[]},"assign_by_time":1349967600,"cost_in_cents":0,"state_label":"posted","description_properties":[{"value":"","title":"Description","key":"description"},{"value":"","title":"Private
75
+ description","key":"private_description"},{"value":1349967600,"title":"If unassigned,
76
+ Task will expire on","key":"assign_by_time"},{"value":1350054000,"title":"Task
77
+ should be completed by","key":"complete_by_time"}],"assignment_type":"auto","name":"My
78
+ First Task","state_changed_at":1349845773,"city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New
79
+ York City","links":{"get":"/api/v1/cities/4"}},"state":"opened","private_runner":false,"complete_by_time":1350054000,"links":{"put":"/api/v1/tasks/125","html":"http://s-app1.taskrabbit.com/tasks/my-first-task--8","get":"/api/v1/tasks/125","delete":"/api/v1/tasks/125","authenticated":"http://s-app1.taskrabbit.com/go/9701072d4de97effc834d9a54580b9e2b767d27d66fb9a3c9284298c531e2e8a686c4b740f5bb2c8a05f1248b94543b9b05f"},"runner_fee":0},{"id":124,"charge_price":20,"named_price":20,"runners":{"items":[]},"assign_by_time":1349967600,"cost_in_cents":0,"state_label":"posted","description_properties":[{"value":"","title":"Description","key":"description"},{"value":"","title":"Private
80
+ description","key":"private_description"},{"value":1349967600,"title":"If unassigned,
81
+ Task will expire on","key":"assign_by_time"},{"value":1350054000,"title":"Task
82
+ should be completed by","key":"complete_by_time"}],"assignment_type":"auto","name":"My
83
+ First Task","state_changed_at":1349845743,"city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New
84
+ York City","links":{"get":"/api/v1/cities/4"}},"state":"opened","private_runner":false,"complete_by_time":1350054000,"links":{"put":"/api/v1/tasks/124","html":"http://s-app1.taskrabbit.com/tasks/my-first-task--7","get":"/api/v1/tasks/124","delete":"/api/v1/tasks/124","authenticated":"http://s-app1.taskrabbit.com/go/4c9773d7fbd52647bf1a152dc5d34a4170b94a8d7ad968374ce2edc3bef7b54470dacc05acd50f8c95c284842c67a65bf247"},"runner_fee":0},{"id":52,"charge_price":0,"runners":{"items":[]},"assign_by_time":1347577200,"cost_in_cents":0,"description":"I
85
+ need to clean my house","state_label":"posted","description_properties":[{"value":"I
86
+ need to clean my house","title":"Description","key":"description"},{"value":null,"title":"Private
87
+ description","key":"private_description"},{"value":"Regular Maintenance","title":"Level
88
+ of cleaning","key":"task_field_16"},{"value":"Multiple Rooms, 1 Bathroom","title":"Size
89
+ of house","key":"task_field_17"},{"value":"Cleaning supplies are already in
90
+ the house","title":"Do you have all the necessary cleaning supplies at your
91
+ house","key":"task_field_18"},{"value":1347577200,"title":"If unassigned, Task
92
+ will expire on","key":"assign_by_time"},{"value":1347663600,"title":"Task should
93
+ be completed by","key":"complete_by_time"}],"assignment_type":"review","name":"House
94
+ Cleaning","state_changed_at":1347490579,"city":{"id":1053,"lng":-122.419416,"lat":37.77493,"name":"SF
95
+ Bay Area","links":{"get":"/api/v1/cities/3"}},"state":"opened","private_runner":false,"complete_by_time":1347663600,"links":{"put":"/api/v1/tasks/52","offers":"/api/v1/tasks/52/offers","html":"http://s-app1.taskrabbit.com/tasks/house-cleaning-7091","get":"/api/v1/tasks/52","delete":"/api/v1/tasks/52","authenticated":"http://s-app1.taskrabbit.com/go/82d359e524666a2d8b96f6df1fbfcad4a720a0b4fed8c3f0985139a13a4d6433b65f7f05e80360af131d8f9638f8307e035b"},"runner_fee":0}],"links":{"first":"/api/v1/users/40/tasks?page=1","last":"/api/v1/users/40/tasks?page=1","get":"/api/v1/users/40/tasks"}},"last_name":"card","display_name":"UserWith
96
+ c.","city":{"id":1053,"lng":-122.419416,"lat":37.77493,"name":"SF Bay Area","links":{"get":"/api/v1/cities/3"}},"email":"userwithcard@taskrabbit.com","full_name":"UserWith
97
+ card","locations":{"items":[{"id":52,"zip":"94102","lng":-122.4080542,"approximate_radius":0,"address":"213
98
+ Powell Street, San Francisco, CA","lat":37.7867363,"name":"Home","city":"San
99
+ Francisco","complete":"213 Powell Street, San Francisco, CA, San Francisco,
100
+ CA 94102","state":"CA","partial":"Powell Street, San Francisco, CA, San Francisco,
101
+ CA 94102"}],"links":{"get":"/api/v1/users/40/locations"}},"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"}'
102
+ http_version: '1.1'
103
+ - !ruby/struct:VCR::HTTPInteraction
104
+ request: !ruby/struct:VCR::Request
35
105
  method: :get
36
- uri: https://taskrabbitdev.com/api/v1/users/49720/tasks?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
106
+ uri: https://taskrabbitdev.com:443/api/v1/users/40/tasks?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
107
  body:
38
- headers:
108
+ headers:
39
109
  x-client-application:
40
110
  - <API_SECRET>
41
111
  authorization:
42
112
  - OAuth <USER_WITH_CARD>
43
- response: !ruby/struct:VCR::Response
44
- status: !ruby/struct:VCR::ResponseStatus
113
+ response: !ruby/struct:VCR::Response
114
+ status: !ruby/struct:VCR::ResponseStatus
45
115
  code: 200
46
116
  message: OK
47
- headers:
48
- etag:
49
- - "\"db8123183fb4c9fbd9a9ccc993954b78\""
50
- content-type:
117
+ headers:
118
+ server:
119
+ - nginx/1.0.11
120
+ date:
121
+ - Fri, 12 Oct 2012 06:45:30 GMT
122
+ content-type:
51
123
  - application/json; charset=utf-8
52
- x-runtime:
53
- - "3288"
54
- server:
55
- - WEBrick/1.3.1 (Ruby/1.8.7/2011-02-18)
56
- date:
57
- - Sat, 17 Mar 2012 23:12:24 GMT
58
- content-length:
59
- - "2163"
60
- cache-control:
61
- - private, max-age=0, must-revalidate
62
- body: "{\"items\":[{\"city\":{\"name\":\"New York City\",\"lng\":-74.005973,\"id\":4,\"links\":{\"get\":\"/api/v1/cities/4\"},\"lat\":40.714353},\"name\":\"My First Task\",\"charge_price\":20,\"named_price\":20,\"private_runner\":false,\"complete_by_time\":1332093600,\"cost_in_cents\":0,\"state_changed_at\":1332025380,\"id\":22673,\"runners\":{\"items\":[]},\"links\":{\"html\":\"http://local.taskrabbit.com/tasks/my-first-task--47\",\"get\":\"/api/v1/tasks/22673\",\"delete\":\"/api/v1/tasks/22673\",\"put\":\"/api/v1/tasks/22673\",\"authenticated\":\"http://local.taskrabbit.com/go/2f249e87a04016d741f163fe991468737e367c8e334eb5d5a53a63d741ce0019ba1a9c33366a76cadc06bdcb9259c5549a44\"},\"state_label\":\"posted\",\"assign_by_time\":1332082800,\"state\":\"opened\"},{\"city\":{\"name\":\"New York City\",\"lng\":-74.005973,\"id\":4,\"links\":{\"get\":\"/api/v1/cities/4\"},\"lat\":40.714353},\"name\":\"New Name\",\"charge_price\":20,\"named_price\":20,\"private_runner\":false,\"complete_by_time\":1332093600,\"cost_in_cents\":0,\"state_changed_at\":1332025387,\"id\":22674,\"runners\":{\"items\":[]},\"links\":{\"html\":\"http://local.taskrabbit.com/tasks/new-name--3\",\"get\":\"/api/v1/tasks/22674\",\"delete\":\"/api/v1/tasks/22674\",\"put\":\"/api/v1/tasks/22674\",\"authenticated\":\"http://local.taskrabbit.com/go/459b5e05e7a6542891148717ed9cdd4a25fb5d5f71f094c098a93beb25ba26303c4ea5e2c8e01da3743703abbe1da5b46980\"},\"state_label\":\"posted\",\"assign_by_time\":1332082800,\"state\":\"opened\"},{\"city\":{\"name\":\"New York City\",\"lng\":-74.005973,\"id\":4,\"links\":{\"get\":\"/api/v1/cities/4\"},\"lat\":40.714353},\"name\":\"My First Task\",\"charge_price\":20,\"named_price\":20,\"private_runner\":false,\"complete_by_time\":1332093600,\"cost_in_cents\":0,\"state_changed_at\":1332025394,\"id\":22675,\"runners\":{\"items\":[]},\"links\":{\"html\":\"http://local.taskrabbit.com/tasks/my-first-task--49\",\"get\":\"/api/v1/tasks/22675\",\"delete\":\"/api/v1/tasks/22675\",\"put\":\"/api/v1/tasks/22675\",\"authenticated\":\"http://local.taskrabbit.com/go/a89862d84f6a3b8b3175c46bc824ba3c4086519395730898237d56ef90ad672e540e62370c6a87b6c6ec2f601c10e2486ba7\"},\"state_label\":\"posted\",\"assign_by_time\":1332082800,\"state\":\"opened\"}],\"links\":{\"get\":\"/api/v1/users/49720/tasks\",\"last\":\"/api/v1/users/49720/tasks?page=1\",\"first\":\"/api/v1/users/49720/tasks?page=1\"}}"
63
- http_version: "1.1"
124
+ status:
125
+ - 200 OK
126
+ etag:
127
+ - ! '"d467d9dda95dab5cff4f145171424fc9"'
128
+ cache-control:
129
+ - max-age=0, private, must-revalidate
130
+ set-cookie:
131
+ - current_geo=1053; path=/; expires=Wed, 12-Dec-2012 07:45:29 GMT; secure
132
+ x-runtime:
133
+ - '0.693493'
134
+ x-ua-compatible:
135
+ - IE=Edge,chrome=1
136
+ strict-transport-security:
137
+ - max-age=31536000
138
+ content-length:
139
+ - '8307'
140
+ body: ! '{"items":[{"id":132,"charge_price":20,"named_price":20,"runners":{"items":[]},"location_visits":{"items":[]},"assign_by_time":1701465000,"cost_in_cents":0,"state_label":"posted","assignment_type":"auto","name":"My
141
+ First Task","state_changed_at":1349847538,"city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New
142
+ York City","links":{"get":"/api/v1/cities/4"}},"state":"opened","private_runner":false,"complete_by_time":1702411800,"links":{"put":"/api/v1/tasks/132","html":"http://s-app1.taskrabbit.com/tasks/my-first-task--15","get":"/api/v1/tasks/132","authenticated":"http://s-app1.taskrabbit.com/go/f628a10b1384beb11bd617706d93ecec821e47520a27c9cd0b71f64399e289ec3d66c5d247d6248768f2a5fb47a7267e7360","delete":"/api/v1/tasks/132"}},{"id":131,"charge_price":20,"named_price":20,"runners":{"items":[]},"location_visits":{"items":[]},"assign_by_time":1701465000,"cost_in_cents":0,"state_label":"posted","assignment_type":"auto","name":"My
143
+ First Task","state_changed_at":1349847522,"city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New
144
+ York City","links":{"get":"/api/v1/cities/4"}},"state":"opened","private_runner":false,"complete_by_time":1702411800,"links":{"put":"/api/v1/tasks/131","html":"http://s-app1.taskrabbit.com/tasks/my-first-task--14","get":"/api/v1/tasks/131","authenticated":"http://s-app1.taskrabbit.com/go/5c6933037d30c2f6e76efbe1a67b013d0211c1199f60a01221c7883fe9621ca894f4dc723a01ba9c10b9743067af593083db","delete":"/api/v1/tasks/131"}},{"id":130,"charge_price":20,"named_price":20,"runners":{"items":[]},"location_visits":{"items":[]},"assign_by_time":1701465000,"cost_in_cents":0,"state_label":"posted","assignment_type":"auto","name":"My
145
+ First Task","state_changed_at":1349847489,"city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New
146
+ York City","links":{"get":"/api/v1/cities/4"}},"state":"opened","private_runner":false,"complete_by_time":1702411800,"links":{"put":"/api/v1/tasks/130","html":"http://s-app1.taskrabbit.com/tasks/my-first-task--13","get":"/api/v1/tasks/130","authenticated":"http://s-app1.taskrabbit.com/go/3bd73d5b9985872d7653dfc6c0167bbd5b5f5eb639074ab503af8c3af59fe3dfe1635cbb9a0e313d187ed3e1edcc3b11e5f4","delete":"/api/v1/tasks/130"}},{"id":129,"charge_price":20,"named_price":20,"runners":{"items":[]},"location_visits":{"items":[]},"assign_by_time":1349967600,"cost_in_cents":0,"state_label":"posted","assignment_type":"auto","name":"My
147
+ First Task","state_changed_at":1349846366,"city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New
148
+ York City","links":{"get":"/api/v1/cities/4"}},"state":"opened","private_runner":false,"complete_by_time":1350054000,"links":{"put":"/api/v1/tasks/129","html":"http://s-app1.taskrabbit.com/tasks/my-first-task--12","get":"/api/v1/tasks/129","authenticated":"http://s-app1.taskrabbit.com/go/e817145624145f9f56a6f91512df237f9aa5b0eec61552e5ededcd2ec10b4808d77aaa3b2b77c20a67df9406efda6ef4c059","delete":"/api/v1/tasks/129"}},{"id":128,"charge_price":20,"named_price":20,"runners":{"items":[]},"location_visits":{"items":[]},"assign_by_time":1349967600,"cost_in_cents":0,"state_label":"posted","assignment_type":"auto","name":"My
149
+ First Task","state_changed_at":1349845814,"city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New
150
+ York City","links":{"get":"/api/v1/cities/4"}},"state":"opened","private_runner":false,"complete_by_time":1350054000,"links":{"put":"/api/v1/tasks/128","html":"http://s-app1.taskrabbit.com/tasks/my-first-task--11","get":"/api/v1/tasks/128","authenticated":"http://s-app1.taskrabbit.com/go/f8fa19d12f798f1a41ed64c16f30f3dd8acae33ac85c54da5c6d2332930ce73fac93986272784822ccef4d6c6e2609ead538","delete":"/api/v1/tasks/128"}},{"id":127,"charge_price":20,"named_price":20,"runners":{"items":[]},"location_visits":{"items":[]},"assign_by_time":1349967600,"cost_in_cents":0,"state_label":"posted","assignment_type":"auto","name":"My
151
+ First Task","state_changed_at":1349845803,"city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New
152
+ York City","links":{"get":"/api/v1/cities/4"}},"state":"opened","private_runner":false,"complete_by_time":1350054000,"links":{"put":"/api/v1/tasks/127","html":"http://s-app1.taskrabbit.com/tasks/my-first-task--10","get":"/api/v1/tasks/127","authenticated":"http://s-app1.taskrabbit.com/go/3558774ebd06622a5abba64f122f6be8ff42f078e2519940b52ed773487edbe55f4bf3bbb2104eb6bdfb76e7dc4c46aef1ad","delete":"/api/v1/tasks/127"}},{"id":126,"charge_price":20,"named_price":20,"runners":{"items":[]},"location_visits":{"items":[]},"assign_by_time":1349967600,"cost_in_cents":0,"state_label":"posted","assignment_type":"auto","name":"My
153
+ First Task","state_changed_at":1349845784,"city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New
154
+ York City","links":{"get":"/api/v1/cities/4"}},"state":"opened","private_runner":false,"complete_by_time":1350054000,"links":{"put":"/api/v1/tasks/126","html":"http://s-app1.taskrabbit.com/tasks/my-first-task--9","get":"/api/v1/tasks/126","authenticated":"http://s-app1.taskrabbit.com/go/7d0f998b5d25d012e0673962418daac1b4823bd5ad44e580f575d692ea510dd3c34fd5eac8a9d8437ec08430ff6cd5e8d9c0","delete":"/api/v1/tasks/126"}},{"id":125,"charge_price":20,"named_price":20,"runners":{"items":[]},"location_visits":{"items":[]},"assign_by_time":1349967600,"cost_in_cents":0,"state_label":"posted","assignment_type":"auto","name":"My
155
+ First Task","state_changed_at":1349845773,"city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New
156
+ York City","links":{"get":"/api/v1/cities/4"}},"state":"opened","private_runner":false,"complete_by_time":1350054000,"links":{"put":"/api/v1/tasks/125","html":"http://s-app1.taskrabbit.com/tasks/my-first-task--8","get":"/api/v1/tasks/125","authenticated":"http://s-app1.taskrabbit.com/go/9701072d4de97effc834d9a54580b9e2b767d27d66fb9a3c9284298c531e2e8a686c4b740f5bb2c8a05f1248b94543b9b05f","delete":"/api/v1/tasks/125"}},{"id":124,"charge_price":20,"named_price":20,"runners":{"items":[]},"location_visits":{"items":[]},"assign_by_time":1349967600,"cost_in_cents":0,"state_label":"posted","assignment_type":"auto","name":"My
157
+ First Task","state_changed_at":1349845743,"city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New
158
+ York City","links":{"get":"/api/v1/cities/4"}},"state":"opened","private_runner":false,"complete_by_time":1350054000,"links":{"put":"/api/v1/tasks/124","html":"http://s-app1.taskrabbit.com/tasks/my-first-task--7","get":"/api/v1/tasks/124","authenticated":"http://s-app1.taskrabbit.com/go/4c9773d7fbd52647bf1a152dc5d34a4170b94a8d7ad968374ce2edc3bef7b54470dacc05acd50f8c95c284842c67a65bf247","delete":"/api/v1/tasks/124"}},{"id":52,"charge_price":0,"runners":{"items":[]},"location_visits":{"items":[{"id":11,"zip":"94102","lng":-122.4080542,"approximate_radius":0,"address":"213
159
+ Powell Street, San Francisco, CA","lat":37.7867363,"name":"Home","city":"San
160
+ Francisco","complete":"213 Powell Street, San Francisco, CA, San Francisco,
161
+ CA 94102","location_id":52,"state":"CA","partial":"Powell Street, San Francisco,
162
+ CA, San Francisco, CA 94102"}]},"assign_by_time":1347577200,"cost_in_cents":0,"description":"I
163
+ need to clean my house","state_label":"posted","assignment_type":"review","name":"House
164
+ Cleaning","state_changed_at":1347490579,"city":{"id":1053,"lng":-122.419416,"lat":37.77493,"name":"SF
165
+ Bay Area","links":{"get":"/api/v1/cities/3"}},"offers":{"items":[{"charge_price":26,"id":7,"runner_id":32,"runner":{"id":32,"short_name":"John","runner_level":1,"display_name":"John
166
+ R.","city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New York City","links":{"get":"/api/v1/cities/4"}},"mobile_phone":"856
167
+ 938 6494","runner":true,"email":"fancyrabbit@example.com","full_name":"John
168
+ R.","friend_code_url":"http://taskrabbit.com/PAL/32","links":{"avatar_url":"http://s-app1.taskrabbit.com/images/default_avatars/runner_thumb.png","get":"/api/v1/users/32"}},"state":"sent","comments":"I
169
+ clean a lot!","created_at":1347493865}]},"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"}}]}'
170
+ http_version: '1.1'
@@ -32,3 +32,38 @@
32
32
  - no-cache
33
33
  body: ! '{"error":"The requested resource could not be found"}'
34
34
  http_version: '1.1'
35
+ - !ruby/struct:VCR::HTTPInteraction
36
+ request: !ruby/struct:VCR::Request
37
+ method: :get
38
+ uri: https://taskrabbitdev.com:443/api/v1/tasks/something-that-doesnot-exists?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
39
+ body:
40
+ headers:
41
+ x-client-application:
42
+ - <API_SECRET>
43
+ authorization:
44
+ - OAuth
45
+ response: !ruby/struct:VCR::Response
46
+ status: !ruby/struct:VCR::ResponseStatus
47
+ code: 404
48
+ message: Not Found
49
+ headers:
50
+ server:
51
+ - nginx/1.0.11
52
+ date:
53
+ - Fri, 12 Oct 2012 06:40:37 GMT
54
+ content-type:
55
+ - application/json; charset=utf-8
56
+ status:
57
+ - 404 Not Found
58
+ cache-control:
59
+ - no-cache
60
+ x-runtime:
61
+ - '0.026281'
62
+ x-ua-compatible:
63
+ - IE=Edge,chrome=1
64
+ strict-transport-security:
65
+ - max-age=31536000
66
+ content-length:
67
+ - '53'
68
+ body: ! '{"error":"The requested resource could not be found"}'
69
+ http_version: '1.1'
@@ -1,32 +1,170 @@
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: :get
5
5
  uri: https://taskrabbitdev.com/api/v1/tasks?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
6
6
  body:
7
- headers:
8
- x-client-application:
7
+ headers:
8
+ x-client-application:
9
9
  - <API_SECRET>
10
- authorization:
10
+ authorization:
11
11
  - OAuth
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
- - "\"debec6619a3d3ab33811ffd7896a8da7\""
19
- content-type:
16
+ headers:
17
+ etag:
18
+ - ! '"debec6619a3d3ab33811ffd7896a8da7"'
19
+ content-type:
20
20
  - application/json; charset=utf-8
21
- x-runtime:
22
- - "1348"
23
- server:
21
+ x-runtime:
22
+ - '1348'
23
+ server:
24
24
  - WEBrick/1.3.1 (Ruby/1.8.7/2011-02-18)
25
- date:
25
+ date:
26
26
  - Sat, 17 Mar 2012 23:12:37 GMT
27
- content-length:
28
- - "7719"
29
- cache-control:
27
+ content-length:
28
+ - '7719'
29
+ cache-control:
30
30
  - private, max-age=0, must-revalidate
31
- body: "{\"items\":[{\"city\":{\"name\":\"New York City\",\"lng\":-74.005973,\"id\":4,\"links\":{\"get\":\"/api/v1/cities/4\"},\"lat\":40.714353},\"name\":\"My First Task\",\"complete_by_time\":1332093600,\"cost_in_cents\":0,\"state_changed_at\":1332025394,\"id\":22675,\"runners\":{\"items\":[]},\"links\":{\"html\":\"http://local.taskrabbit.com/tasks/my-first-task--49\",\"get\":\"/api/v1/tasks/22675\"},\"state_label\":\"posted\",\"user\":{\"city\":{\"name\":\"SF Bay Area\",\"lng\":-122.419416,\"id\":3,\"links\":{\"get\":\"/api/v1/cities/3\"},\"lat\":37.77493},\"id\":49720,\"links\":{\"get\":\"/api/v1/users/49720\",\"avatar_url\":\"http://local.taskrabbit.com/images/default_avatars/poster_thumb.png\"},\"full_name\":\"Bob S.\",\"short_name\":\"Bob\",\"display_name\":\"Bob S.\"},\"assign_by_time\":1332082800,\"state\":\"opened\"},{\"city\":{\"name\":\"New York City\",\"lng\":-74.005973,\"id\":4,\"links\":{\"get\":\"/api/v1/cities/4\"},\"lat\":40.714353},\"name\":\"New Name\",\"complete_by_time\":1332093600,\"cost_in_cents\":0,\"state_changed_at\":1332025387,\"id\":22674,\"runners\":{\"items\":[]},\"links\":{\"html\":\"http://local.taskrabbit.com/tasks/new-name--3\",\"get\":\"/api/v1/tasks/22674\"},\"state_label\":\"posted\",\"user\":{\"city\":{\"name\":\"SF Bay Area\",\"lng\":-122.419416,\"id\":3,\"links\":{\"get\":\"/api/v1/cities/3\"},\"lat\":37.77493},\"id\":49720,\"links\":{\"get\":\"/api/v1/users/49720\",\"avatar_url\":\"http://local.taskrabbit.com/images/default_avatars/poster_thumb.png\"},\"full_name\":\"Bob S.\",\"short_name\":\"Bob\",\"display_name\":\"Bob S.\"},\"assign_by_time\":1332082800,\"state\":\"opened\"},{\"city\":{\"name\":\"New York City\",\"lng\":-74.005973,\"id\":4,\"links\":{\"get\":\"/api/v1/cities/4\"},\"lat\":40.714353},\"name\":\"My First Task\",\"complete_by_time\":1332093600,\"cost_in_cents\":0,\"state_changed_at\":1332025380,\"id\":22673,\"runners\":{\"items\":[]},\"links\":{\"html\":\"http://local.taskrabbit.com/tasks/my-first-task--47\",\"get\":\"/api/v1/tasks/22673\"},\"state_label\":\"posted\",\"user\":{\"city\":{\"name\":\"SF Bay Area\",\"lng\":-122.419416,\"id\":3,\"links\":{\"get\":\"/api/v1/cities/3\"},\"lat\":37.77493},\"id\":49720,\"links\":{\"get\":\"/api/v1/users/49720\",\"avatar_url\":\"http://local.taskrabbit.com/images/default_avatars/poster_thumb.png\"},\"full_name\":\"Bob S.\",\"short_name\":\"Bob\",\"display_name\":\"Bob S.\"},\"assign_by_time\":1332082800,\"state\":\"opened\"},{\"city\":{\"name\":\"SF Bay Area\",\"lng\":-122.419416,\"id\":3,\"links\":{\"get\":\"/api/v1/cities/3\"},\"lat\":37.77493},\"name\":\"2 Hours of House Cleaning + 1 Hour of House Chores\",\"complete_by_time\":1330887600,\"cost_in_cents\":0,\"state_changed_at\":1330729387,\"id\":22666,\"runners\":{\"items\":[]},\"links\":{\"html\":\"http://local.taskrabbit.com/tasks/2-hours-of-house-cleaning-1-hour-of-house-chores--2\",\"get\":\"/api/v1/tasks/22666\"},\"state_label\":\"assigned\",\"user\":{\"city\":{\"name\":\"SF Bay Area\",\"lng\":-122.419416,\"id\":3,\"links\":{\"get\":\"/api/v1/cities/3\"},\"lat\":37.77493},\"id\":49658,\"links\":{\"get\":\"/api/v1/users/49658\",\"avatar_url\":\"http://local.taskrabbit.com/images/default_avatars/poster_thumb.png\"},\"full_name\":\"Jean-Richard L.\",\"short_name\":\"Jean-Richard\",\"display_name\":\"Jean-Richard L.\"},\"assign_by_time\":1330750800,\"state\":\"assigned\"},{\"city\":{\"name\":\"New York City\",\"lng\":-74.005973,\"id\":4,\"links\":{\"get\":\"/api/v1/cities/4\"},\"lat\":40.714353},\"name\":\"My First Task\",\"complete_by_time\":1330801200,\"cost_in_cents\":0,\"state_changed_at\":1330723860,\"id\":22557,\"runners\":{\"items\":[]},\"links\":{\"html\":\"http://local.taskrabbit.com/tasks/my-first-task--11\",\"get\":\"/api/v1/tasks/22557\"},\"state_label\":\"posted\",\"user\":{\"city\":{\"name\":\"SF Bay Area\",\"lng\":-122.419416,\"id\":3,\"links\":{\"get\":\"/api/v1/cities/3\"},\"lat\":37.77493},\"id\":49658,\"links\":{\"get\":\"/api/v1/users/49658\",\"avatar_url\":\"http://local.taskrabbit.com/images/default_avatars/poster_thumb.png\"},\"full_name\":\"Jean-Richard L.\",\"short_name\":\"Jean-Richard\",\"display_name\":\"Jean-Richard L.\"},\"assign_by_time\":1330790400,\"state\":\"opened\"},{\"city\":{\"name\":\"SF Bay Area\",\"lng\":-122.419416,\"id\":3,\"links\":{\"get\":\"/api/v1/cities/3\"},\"lat\":37.77493},\"name\":\"Shopping at Any Store\",\"complete_by_time\":1328670000,\"cost_in_cents\":0,\"state_changed_at\":1328638929,\"id\":22659,\"runners\":{\"items\":[]},\"links\":{\"html\":\"http://local.taskrabbit.com/tasks/shopping-at-any-store--4\",\"get\":\"/api/v1/tasks/22659\"},\"state_label\":\"assigned\",\"description\":\"test\",\"user\":{\"city\":{\"name\":\"SF Bay Area\",\"lng\":-122.419416,\"id\":3,\"links\":{\"get\":\"/api/v1/cities/3\"},\"lat\":37.77493},\"id\":49658,\"links\":{\"get\":\"/api/v1/users/49658\",\"avatar_url\":\"http://local.taskrabbit.com/images/default_avatars/poster_thumb.png\"},\"full_name\":\"Jean-Richard L.\",\"short_name\":\"Jean-Richard\",\"display_name\":\"Jean-Richard L.\"},\"assign_by_time\":1328659200,\"state\":\"assigned\"},{\"city\":{\"name\":\"SF Bay Area\",\"lng\":-122.419416,\"id\":3,\"links\":{\"get\":\"/api/v1/cities/3\"},\"lat\":37.77493},\"name\":\"2 Hours of House Cleaning + 1 Hour of House Chores\",\"complete_by_time\":1318381200,\"cost_in_cents\":0,\"state_changed_at\":1317839370,\"id\":22545,\"runners\":{\"items\":[]},\"links\":{\"html\":\"http://local.taskrabbit.com/tasks/task--278\",\"get\":\"/api/v1/tasks/22545\"},\"state_label\":\"closed\",\"user\":{\"city\":{\"name\":\"SF Bay Area\",\"lng\":-122.419416,\"id\":3,\"links\":{\"get\":\"/api/v1/cities/3\"},\"lat\":37.77493},\"id\":49658,\"links\":{\"get\":\"/api/v1/users/49658\",\"avatar_url\":\"http://local.taskrabbit.com/images/default_avatars/poster_thumb.png\"},\"full_name\":\"Jean-Richard L.\",\"short_name\":\"Jean-Richard\",\"display_name\":\"Jean-Richard L.\"},\"assign_by_time\":1318014000,\"state\":\"closed\"},{\"city\":{\"name\":\"SF Bay Area\",\"lng\":-122.419416,\"id\":3,\"links\":{\"get\":\"/api/v1/cities/3\"},\"lat\":37.77493},\"name\":\"unrewoirnwiownrweiorwn\",\"complete_by_time\":1310612400,\"cost_in_cents\":0,\"state_changed_at\":1310576762,\"id\":22525,\"runners\":{\"items\":[]},\"links\":{\"html\":\"http://local.taskrabbit.com/tasks/unrewoirnwiownrweiorwn\",\"get\":\"/api/v1/tasks/22525\"},\"state_label\":\"completed\",\"user\":{\"city\":{\"name\":\"SF Bay Area\",\"lng\":-122.419416,\"id\":3,\"links\":{\"get\":\"/api/v1/cities/3\"},\"lat\":37.77493},\"id\":49658,\"links\":{\"get\":\"/api/v1/users/49658\",\"avatar_url\":\"http://local.taskrabbit.com/images/default_avatars/poster_thumb.png\"},\"full_name\":\"Jean-Richard L.\",\"short_name\":\"Jean-Richard\",\"display_name\":\"Jean-Richard L.\"},\"assign_by_time\":1310598000,\"state\":\"completed\"},{\"city\":{\"name\":\"SF Bay Area\",\"lng\":-122.419416,\"id\":3,\"links\":{\"get\":\"/api/v1/cities/3\"},\"lat\":37.77493},\"name\":\"Yo ca va !?\",\"complete_by_time\":1310594400,\"cost_in_cents\":0,\"state_changed_at\":1310576419,\"id\":22524,\"runners\":{\"items\":[]},\"links\":{\"html\":\"http://local.taskrabbit.com/tasks/yo-ca-va\",\"get\":\"/api/v1/tasks/22524\"},\"state_label\":\"closed\",\"user\":{\"city\":{\"name\":\"SF Bay Area\",\"lng\":-122.419416,\"id\":3,\"links\":{\"get\":\"/api/v1/cities/3\"},\"lat\":37.77493},\"id\":49658,\"links\":{\"get\":\"/api/v1/users/49658\",\"avatar_url\":\"http://local.taskrabbit.com/images/default_avatars/poster_thumb.png\"},\"full_name\":\"Jean-Richard L.\",\"short_name\":\"Jean-Richard\",\"display_name\":\"Jean-Richard L.\"},\"assign_by_time\":1310580000,\"state\":\"closed\"},{\"city\":{\"name\":\"SF Bay Area\",\"lng\":-122.419416,\"id\":3,\"links\":{\"get\":\"/api/v1/cities/3\"},\"lat\":37.77493},\"name\":\"ABFCEFDDDSS\",\"complete_by_time\":1310439600,\"cost_in_cents\":0,\"state_changed_at\":1310408061,\"id\":22519,\"runners\":{\"items\":[]},\"links\":{\"html\":\"http://local.taskrabbit.com/tasks/abfcefdddss\",\"get\":\"/api/v1/tasks/22519\"},\"state_label\":\"closed\",\"description\":\"erewrewwer\\\\\\r\\n\\r\\nrew\\r\\nr\\r\\new\\r\\nw\\r\\new\",\"user\":{\"city\":{\"name\":\"SF Bay Area\",\"lng\":-122.419416,\"id\":3,\"links\":{\"get\":\"/api/v1/cities/3\"},\"lat\":37.77493},\"id\":49658,\"links\":{\"get\":\"/api/v1/users/49658\",\"avatar_url\":\"http://local.taskrabbit.com/images/default_avatars/poster_thumb.png\"},\"full_name\":\"Jean-Richard L.\",\"short_name\":\"Jean-Richard\",\"display_name\":\"Jean-Richard L.\"},\"assign_by_time\":1310425200,\"state\":\"closed\"}],\"links\":{\"get\":\"/api/v1/tasks\",\"last\":\"/api/v1/tasks?page=844\",\"first\":\"/api/v1/tasks?page=1\",\"next\":\"/api/v1/tasks?page=2\"}}"
32
- http_version: "1.1"
31
+ body: ! '{"items":[{"city":{"name":"New York City","lng":-74.005973,"id":4,"links":{"get":"/api/v1/cities/4"},"lat":40.714353},"name":"My
32
+ First Task","complete_by_time":1332093600,"cost_in_cents":0,"state_changed_at":1332025394,"id":22675,"runners":{"items":[]},"links":{"html":"http://local.taskrabbit.com/tasks/my-first-task--49","get":"/api/v1/tasks/22675"},"state_label":"posted","user":{"city":{"name":"SF
33
+ Bay Area","lng":-122.419416,"id":3,"links":{"get":"/api/v1/cities/3"},"lat":37.77493},"id":49720,"links":{"get":"/api/v1/users/49720","avatar_url":"http://local.taskrabbit.com/images/default_avatars/poster_thumb.png"},"full_name":"Bob
34
+ S.","short_name":"Bob","display_name":"Bob S."},"assign_by_time":1332082800,"state":"opened"},{"city":{"name":"New
35
+ York City","lng":-74.005973,"id":4,"links":{"get":"/api/v1/cities/4"},"lat":40.714353},"name":"New
36
+ Name","complete_by_time":1332093600,"cost_in_cents":0,"state_changed_at":1332025387,"id":22674,"runners":{"items":[]},"links":{"html":"http://local.taskrabbit.com/tasks/new-name--3","get":"/api/v1/tasks/22674"},"state_label":"posted","user":{"city":{"name":"SF
37
+ Bay Area","lng":-122.419416,"id":3,"links":{"get":"/api/v1/cities/3"},"lat":37.77493},"id":49720,"links":{"get":"/api/v1/users/49720","avatar_url":"http://local.taskrabbit.com/images/default_avatars/poster_thumb.png"},"full_name":"Bob
38
+ S.","short_name":"Bob","display_name":"Bob S."},"assign_by_time":1332082800,"state":"opened"},{"city":{"name":"New
39
+ York City","lng":-74.005973,"id":4,"links":{"get":"/api/v1/cities/4"},"lat":40.714353},"name":"My
40
+ First Task","complete_by_time":1332093600,"cost_in_cents":0,"state_changed_at":1332025380,"id":22673,"runners":{"items":[]},"links":{"html":"http://local.taskrabbit.com/tasks/my-first-task--47","get":"/api/v1/tasks/22673"},"state_label":"posted","user":{"city":{"name":"SF
41
+ Bay Area","lng":-122.419416,"id":3,"links":{"get":"/api/v1/cities/3"},"lat":37.77493},"id":49720,"links":{"get":"/api/v1/users/49720","avatar_url":"http://local.taskrabbit.com/images/default_avatars/poster_thumb.png"},"full_name":"Bob
42
+ S.","short_name":"Bob","display_name":"Bob S."},"assign_by_time":1332082800,"state":"opened"},{"city":{"name":"SF
43
+ Bay Area","lng":-122.419416,"id":3,"links":{"get":"/api/v1/cities/3"},"lat":37.77493},"name":"2
44
+ Hours of House Cleaning + 1 Hour of House Chores","complete_by_time":1330887600,"cost_in_cents":0,"state_changed_at":1330729387,"id":22666,"runners":{"items":[]},"links":{"html":"http://local.taskrabbit.com/tasks/2-hours-of-house-cleaning-1-hour-of-house-chores--2","get":"/api/v1/tasks/22666"},"state_label":"assigned","user":{"city":{"name":"SF
45
+ Bay Area","lng":-122.419416,"id":3,"links":{"get":"/api/v1/cities/3"},"lat":37.77493},"id":49658,"links":{"get":"/api/v1/users/49658","avatar_url":"http://local.taskrabbit.com/images/default_avatars/poster_thumb.png"},"full_name":"Jean-Richard
46
+ L.","short_name":"Jean-Richard","display_name":"Jean-Richard L."},"assign_by_time":1330750800,"state":"assigned"},{"city":{"name":"New
47
+ York City","lng":-74.005973,"id":4,"links":{"get":"/api/v1/cities/4"},"lat":40.714353},"name":"My
48
+ First Task","complete_by_time":1330801200,"cost_in_cents":0,"state_changed_at":1330723860,"id":22557,"runners":{"items":[]},"links":{"html":"http://local.taskrabbit.com/tasks/my-first-task--11","get":"/api/v1/tasks/22557"},"state_label":"posted","user":{"city":{"name":"SF
49
+ Bay Area","lng":-122.419416,"id":3,"links":{"get":"/api/v1/cities/3"},"lat":37.77493},"id":49658,"links":{"get":"/api/v1/users/49658","avatar_url":"http://local.taskrabbit.com/images/default_avatars/poster_thumb.png"},"full_name":"Jean-Richard
50
+ L.","short_name":"Jean-Richard","display_name":"Jean-Richard L."},"assign_by_time":1330790400,"state":"opened"},{"city":{"name":"SF
51
+ Bay Area","lng":-122.419416,"id":3,"links":{"get":"/api/v1/cities/3"},"lat":37.77493},"name":"Shopping
52
+ at Any Store","complete_by_time":1328670000,"cost_in_cents":0,"state_changed_at":1328638929,"id":22659,"runners":{"items":[]},"links":{"html":"http://local.taskrabbit.com/tasks/shopping-at-any-store--4","get":"/api/v1/tasks/22659"},"state_label":"assigned","description":"test","user":{"city":{"name":"SF
53
+ Bay Area","lng":-122.419416,"id":3,"links":{"get":"/api/v1/cities/3"},"lat":37.77493},"id":49658,"links":{"get":"/api/v1/users/49658","avatar_url":"http://local.taskrabbit.com/images/default_avatars/poster_thumb.png"},"full_name":"Jean-Richard
54
+ L.","short_name":"Jean-Richard","display_name":"Jean-Richard L."},"assign_by_time":1328659200,"state":"assigned"},{"city":{"name":"SF
55
+ Bay Area","lng":-122.419416,"id":3,"links":{"get":"/api/v1/cities/3"},"lat":37.77493},"name":"2
56
+ Hours of House Cleaning + 1 Hour of House Chores","complete_by_time":1318381200,"cost_in_cents":0,"state_changed_at":1317839370,"id":22545,"runners":{"items":[]},"links":{"html":"http://local.taskrabbit.com/tasks/task--278","get":"/api/v1/tasks/22545"},"state_label":"closed","user":{"city":{"name":"SF
57
+ Bay Area","lng":-122.419416,"id":3,"links":{"get":"/api/v1/cities/3"},"lat":37.77493},"id":49658,"links":{"get":"/api/v1/users/49658","avatar_url":"http://local.taskrabbit.com/images/default_avatars/poster_thumb.png"},"full_name":"Jean-Richard
58
+ L.","short_name":"Jean-Richard","display_name":"Jean-Richard L."},"assign_by_time":1318014000,"state":"closed"},{"city":{"name":"SF
59
+ Bay Area","lng":-122.419416,"id":3,"links":{"get":"/api/v1/cities/3"},"lat":37.77493},"name":"unrewoirnwiownrweiorwn","complete_by_time":1310612400,"cost_in_cents":0,"state_changed_at":1310576762,"id":22525,"runners":{"items":[]},"links":{"html":"http://local.taskrabbit.com/tasks/unrewoirnwiownrweiorwn","get":"/api/v1/tasks/22525"},"state_label":"completed","user":{"city":{"name":"SF
60
+ Bay Area","lng":-122.419416,"id":3,"links":{"get":"/api/v1/cities/3"},"lat":37.77493},"id":49658,"links":{"get":"/api/v1/users/49658","avatar_url":"http://local.taskrabbit.com/images/default_avatars/poster_thumb.png"},"full_name":"Jean-Richard
61
+ L.","short_name":"Jean-Richard","display_name":"Jean-Richard L."},"assign_by_time":1310598000,"state":"completed"},{"city":{"name":"SF
62
+ Bay Area","lng":-122.419416,"id":3,"links":{"get":"/api/v1/cities/3"},"lat":37.77493},"name":"Yo
63
+ ca va !?","complete_by_time":1310594400,"cost_in_cents":0,"state_changed_at":1310576419,"id":22524,"runners":{"items":[]},"links":{"html":"http://local.taskrabbit.com/tasks/yo-ca-va","get":"/api/v1/tasks/22524"},"state_label":"closed","user":{"city":{"name":"SF
64
+ Bay Area","lng":-122.419416,"id":3,"links":{"get":"/api/v1/cities/3"},"lat":37.77493},"id":49658,"links":{"get":"/api/v1/users/49658","avatar_url":"http://local.taskrabbit.com/images/default_avatars/poster_thumb.png"},"full_name":"Jean-Richard
65
+ L.","short_name":"Jean-Richard","display_name":"Jean-Richard L."},"assign_by_time":1310580000,"state":"closed"},{"city":{"name":"SF
66
+ Bay Area","lng":-122.419416,"id":3,"links":{"get":"/api/v1/cities/3"},"lat":37.77493},"name":"ABFCEFDDDSS","complete_by_time":1310439600,"cost_in_cents":0,"state_changed_at":1310408061,"id":22519,"runners":{"items":[]},"links":{"html":"http://local.taskrabbit.com/tasks/abfcefdddss","get":"/api/v1/tasks/22519"},"state_label":"closed","description":"erewrewwer\\\r\n\r\nrew\r\nr\r\new\r\nw\r\new","user":{"city":{"name":"SF
67
+ Bay Area","lng":-122.419416,"id":3,"links":{"get":"/api/v1/cities/3"},"lat":37.77493},"id":49658,"links":{"get":"/api/v1/users/49658","avatar_url":"http://local.taskrabbit.com/images/default_avatars/poster_thumb.png"},"full_name":"Jean-Richard
68
+ L.","short_name":"Jean-Richard","display_name":"Jean-Richard L."},"assign_by_time":1310425200,"state":"closed"}],"links":{"get":"/api/v1/tasks","last":"/api/v1/tasks?page=844","first":"/api/v1/tasks?page=1","next":"/api/v1/tasks?page=2"}}'
69
+ http_version: '1.1'
70
+ - !ruby/struct:VCR::HTTPInteraction
71
+ request: !ruby/struct:VCR::Request
72
+ method: :get
73
+ uri: https://taskrabbitdev.com:443/api/v1/tasks?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
74
+ body:
75
+ headers:
76
+ x-client-application:
77
+ - <API_SECRET>
78
+ authorization:
79
+ - OAuth
80
+ response: !ruby/struct:VCR::Response
81
+ status: !ruby/struct:VCR::ResponseStatus
82
+ code: 200
83
+ message: OK
84
+ headers:
85
+ server:
86
+ - nginx/1.0.11
87
+ date:
88
+ - Fri, 12 Oct 2012 06:49:17 GMT
89
+ content-type:
90
+ - application/json; charset=utf-8
91
+ status:
92
+ - 200 OK
93
+ etag:
94
+ - ! '"30f126e9253155809e72692ad2a5410b"'
95
+ cache-control:
96
+ - max-age=0, private, must-revalidate
97
+ x-runtime:
98
+ - '0.488210'
99
+ x-ua-compatible:
100
+ - IE=Edge,chrome=1
101
+ strict-transport-security:
102
+ - max-age=31536000
103
+ content-length:
104
+ - '11162'
105
+ body: ! '{"items":[{"id":141,"user":{"id":43,"short_name":"The","display_name":"The
106
+ J.","city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New York City","links":{"get":"/api/v1/cities/4"}},"full_name":"The
107
+ J.","links":{"get":"/api/v1/users/43","avatar_url":"http://s-app1.taskrabbit.com/images/default_avatars/poster_thumb.png"},"friend_code_url":"http://taskrabbit.com/PAL/43"},"runners":{"items":[]},"location_visits":{"items":[]},"assign_by_time":1350140400,"cost_in_cents":0,"state_label":"posted","name":"Buy
108
+ me a sandwich","state_changed_at":1350007691,"city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New
109
+ York City","links":{"get":"/api/v1/cities/4"}},"state":"opened","complete_by_time":1350226800,"links":{"html":"http://s-app1.taskrabbit.com/tasks/buy-me-a-sandwich--3","get":"/api/v1/tasks/141"}},{"id":139,"user":{"id":25,"short_name":"Kurt","display_name":"Kurt
110
+ G.","city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New York City","links":{"get":"/api/v1/cities/4"}},"full_name":"Kurt
111
+ G.","links":{"get":"/api/v1/users/25","avatar_url":"http://s-app1.taskrabbit.com/images/default_avatars/poster_thumb.png"},"friend_code_url":"http://taskrabbit.com/PAL/25"},"runners":{"items":[{"id":32,"short_name":"John","display_name":"John
112
+ R.","runner_level":1,"city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New
113
+ York City","links":{"get":"/api/v1/cities/4"}},"runner":true,"full_name":"John
114
+ R.","links":{"avatar_url":"http://s-app1.taskrabbit.com/images/default_avatars/runner_thumb.png","get":"/api/v1/users/32"},"friend_code_url":"http://taskrabbit.com/PAL/32"}]},"location_visits":{"items":[{"zip":"10009","lng":0.0,"approximate_radius":0.0,"address":"Avenue
115
+ B,","lat":0.0,"name":"apartment","city":"New York","complete":"Avenue B,, New
116
+ York, NY 10009","state":"NY","partial":"Avenue B,, New York, NY 10009"}]},"assign_by_time":1350072000,"cost_in_cents":100,"description":"Pick
117
+ up some laundry","state_label":"assigned","name":"Pick up laundry","state_changed_at":1349983410,"city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New
118
+ York City","links":{"get":"/api/v1/cities/4"}},"state":"assigned","runner":{"id":32,"short_name":"John","display_name":"John
119
+ R.","runner_level":1,"city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New
120
+ York City","links":{"get":"/api/v1/cities/4"}},"runner":true,"full_name":"John
121
+ R.","links":{"get":"/api/v1/users/32","avatar_url":"http://s-app1.taskrabbit.com/images/default_avatars/runner_thumb.png"},"friend_code_url":"http://taskrabbit.com/PAL/32"},"complete_by_time":1350158400,"links":{"html":"http://s-app1.taskrabbit.com/tasks/pick-up-laundry--2","get":"/api/v1/tasks/139"}},{"id":138,"user":{"id":25,"short_name":"Kurt","display_name":"Kurt
122
+ G.","city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New York City","links":{"get":"/api/v1/cities/4"}},"full_name":"Kurt
123
+ G.","links":{"get":"/api/v1/users/25","avatar_url":"http://s-app1.taskrabbit.com/images/default_avatars/poster_thumb.png"},"friend_code_url":"http://taskrabbit.com/PAL/25"},"runners":{"items":[]},"location_visits":{"items":[{"zip":"10009","lng":0.0,"approximate_radius":0.0,"address":"Avenue
124
+ B","lat":0.0,"name":"Laundromat","city":"New York","complete":"Avenue B, New
125
+ York, NY 10009","state":"NY","partial":"Avenue B, New York, NY 10009"}]},"assign_by_time":1350068400,"cost_in_cents":0,"description":"Pick
126
+ up some laundry for me","state_label":"posted","name":"Pick up my laundry","state_changed_at":1349980342,"city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New
127
+ York City","links":{"get":"/api/v1/cities/4"}},"state":"opened","complete_by_time":1350154800,"links":{"html":"http://s-app1.taskrabbit.com/tasks/pick-up-my-laundry--3","get":"/api/v1/tasks/138"}},{"id":137,"user":{"id":25,"short_name":"Kurt","display_name":"Kurt
128
+ G.","city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New York City","links":{"get":"/api/v1/cities/4"}},"full_name":"Kurt
129
+ G.","links":{"get":"/api/v1/users/25","avatar_url":"http://s-app1.taskrabbit.com/images/default_avatars/poster_thumb.png"},"friend_code_url":"http://taskrabbit.com/PAL/25"},"runners":{"items":[]},"location_visits":{"items":[{"zip":"08033","lng":0.0,"approximate_radius":0.0,"address":"W
130
+ Redman Avenue","lat":0.0,"name":"Home","city":"Haddonfield","complete":"W Redman
131
+ Avenue, Haddonfield, NJ 08033","state":"NJ","partial":"W Redman Avenue, Haddonfield,
132
+ NJ 08033"}]},"assign_by_time":1349996400,"cost_in_cents":4400,"description":"Pub","state_label":"posted","name":"T2","state_changed_at":1349909641,"city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New
133
+ York City","links":{"get":"/api/v1/cities/4"}},"state":"opened","complete_by_time":1350082800,"links":{"html":"http://s-app1.taskrabbit.com/tasks/t2","get":"/api/v1/tasks/137"}},{"id":136,"user":{"id":25,"short_name":"Kurt","display_name":"Kurt
134
+ G.","city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New York City","links":{"get":"/api/v1/cities/4"}},"full_name":"Kurt
135
+ G.","links":{"get":"/api/v1/users/25","avatar_url":"http://s-app1.taskrabbit.com/images/default_avatars/poster_thumb.png"},"friend_code_url":"http://taskrabbit.com/PAL/25"},"runners":{"items":[]},"location_visits":{"items":[{"zip":"08033","lng":0.0,"approximate_radius":0.0,"address":"W
136
+ Redman Ave","lat":0.0,"name":"Home","city":"Haddonfield","complete":"W Redman
137
+ Ave, Haddonfield, NJ 08033","state":"NJ","partial":"W Redman Ave, Haddonfield,
138
+ NJ 08033"},{"zip":"08033","lng":0.0,"approximate_radius":0.0,"address":"W Crystal
139
+ Lake Ave","lat":0.0,"name":"Grandma","city":"Haddonfield","complete":"W Crystal
140
+ Lake Ave, Haddonfield, NJ 08033","state":"NJ","partial":"W Crystal Lake Ave,
141
+ Haddonfield, NJ 08033"},{"zip":"10009","lng":-73.983175524,"approximate_radius":0.5,"address":"Avenue
142
+ B","lat":40.7252192832,"city":"New York","complete":"Avenue B, New York, NY
143
+ 10009","state":"NY","partial":"Avenue B, New York, NY 10009"}]},"assign_by_time":1349996400,"cost_in_cents":3400,"description":"Pub","state_label":"posted","name":"Title","state_changed_at":1349909387,"city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New
144
+ York City","links":{"get":"/api/v1/cities/4"}},"state":"opened","complete_by_time":1350082800,"links":{"html":"http://s-app1.taskrabbit.com/tasks/title--2","get":"/api/v1/tasks/136"}},{"id":135,"user":{"id":25,"short_name":"Kurt","display_name":"Kurt
145
+ G.","city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New York City","links":{"get":"/api/v1/cities/4"}},"full_name":"Kurt
146
+ G.","links":{"get":"/api/v1/users/25","avatar_url":"http://s-app1.taskrabbit.com/images/default_avatars/poster_thumb.png"},"friend_code_url":"http://taskrabbit.com/PAL/25"},"runners":{"items":[{"id":32,"short_name":"John","display_name":"John
147
+ R.","runner_level":1,"city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New
148
+ York City","links":{"get":"/api/v1/cities/4"}},"runner":true,"full_name":"John
149
+ R.","links":{"avatar_url":"http://s-app1.taskrabbit.com/images/default_avatars/runner_thumb.png","get":"/api/v1/users/32"},"friend_code_url":"http://taskrabbit.com/PAL/32"}]},"location_visits":{"items":[]},"assign_by_time":1349982000,"cost_in_cents":400,"description":"Hoi
150
+ hoi","state_label":"assigned","name":"Hoi","state_changed_at":1349894176,"city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New
151
+ York City","links":{"get":"/api/v1/cities/4"}},"state":"assigned","runner":{"id":32,"short_name":"John","display_name":"John
152
+ R.","runner_level":1,"city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New
153
+ York City","links":{"get":"/api/v1/cities/4"}},"runner":true,"full_name":"John
154
+ R.","links":{"get":"/api/v1/users/32","avatar_url":"http://s-app1.taskrabbit.com/images/default_avatars/runner_thumb.png"},"friend_code_url":"http://taskrabbit.com/PAL/32"},"complete_by_time":1350068400,"links":{"html":"http://s-app1.taskrabbit.com/tasks/hoi","get":"/api/v1/tasks/135"}},{"id":134,"user":{"id":25,"short_name":"Kurt","display_name":"Kurt
155
+ G.","city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New York City","links":{"get":"/api/v1/cities/4"}},"full_name":"Kurt
156
+ G.","links":{"get":"/api/v1/users/25","avatar_url":"http://s-app1.taskrabbit.com/images/default_avatars/poster_thumb.png"},"friend_code_url":"http://taskrabbit.com/PAL/25"},"runners":{"items":[]},"location_visits":{"items":[]},"assign_by_time":1349982000,"cost_in_cents":4300,"description":"At
157
+ tower records","state_label":"posted","name":"Drop off my records","state_changed_at":1349892869,"city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New
158
+ York City","links":{"get":"/api/v1/cities/4"}},"state":"opened","complete_by_time":1350068400,"links":{"html":"http://s-app1.taskrabbit.com/tasks/drop-off-my-records","get":"/api/v1/tasks/134"}},{"id":133,"user":{"id":25,"short_name":"Kurt","display_name":"Kurt
159
+ G.","city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New York City","links":{"get":"/api/v1/cities/4"}},"full_name":"Kurt
160
+ G.","links":{"get":"/api/v1/users/25","avatar_url":"http://s-app1.taskrabbit.com/images/default_avatars/poster_thumb.png"},"friend_code_url":"http://taskrabbit.com/PAL/25"},"runners":{"items":[]},"location_visits":{"items":[]},"assign_by_time":1349971200,"cost_in_cents":4200,"description":"public","state_label":"posted","name":"Title","state_changed_at":1349881710,"city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New
161
+ York City","links":{"get":"/api/v1/cities/4"}},"state":"opened","complete_by_time":1350057600,"links":{"html":"http://s-app1.taskrabbit.com/tasks/title","get":"/api/v1/tasks/133"}},{"id":132,"user":{"id":40,"short_name":"UserWith","display_name":"UserWith
162
+ c.","city":{"id":1053,"lng":-122.419416,"lat":37.77493,"name":"SF Bay Area","links":{"get":"/api/v1/cities/3"}},"full_name":"UserWith
163
+ c.","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"},"runners":{"items":[]},"location_visits":{"items":[]},"assign_by_time":1701465000,"cost_in_cents":0,"state_label":"posted","name":"My
164
+ First Task","state_changed_at":1349847538,"city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New
165
+ York City","links":{"get":"/api/v1/cities/4"}},"state":"opened","complete_by_time":1702411800,"links":{"html":"http://s-app1.taskrabbit.com/tasks/my-first-task--15","get":"/api/v1/tasks/132"}},{"id":131,"user":{"id":40,"short_name":"UserWith","display_name":"UserWith
166
+ c.","city":{"id":1053,"lng":-122.419416,"lat":37.77493,"name":"SF Bay Area","links":{"get":"/api/v1/cities/3"}},"full_name":"UserWith
167
+ c.","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"},"runners":{"items":[]},"location_visits":{"items":[]},"assign_by_time":1701465000,"cost_in_cents":0,"state_label":"posted","name":"My
168
+ First Task","state_changed_at":1349847522,"city":{"id":1060,"lng":-74.005973,"lat":40.714353,"name":"New
169
+ York City","links":{"get":"/api/v1/cities/4"}},"state":"opened","complete_by_time":1702411800,"links":{"html":"http://s-app1.taskrabbit.com/tasks/my-first-task--14","get":"/api/v1/tasks/131"}}]}'
170
+ http_version: '1.1'