chute 2.0.0 → 2.0.1
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.
- data/Rakefile +0 -1
- data/chute.gemspec +3 -5
- data/lib/chute/connection.rb +1 -1
- data/lib/chute/v2/accounts.rb +13 -0
- data/lib/chute/version.rb +1 -1
- data/spec/chute/connection_spec.rb +1 -1
- data/spec/fixtures/chute_cassettes/albums/album_create_with_permission_view.yml +13 -21
- data/spec/fixtures/chute_cassettes/albums/albums_add_remove_assets.yml +23 -47
- data/spec/fixtures/chute_cassettes/albums/albums_create.yml +13 -21
- data/spec/fixtures/chute_cassettes/albums/albums_delete.yml +20 -36
- data/spec/fixtures/chute_cassettes/albums/albums_get.yml +23 -39
- data/spec/fixtures/chute_cassettes/albums/albums_list.yml +27 -35
- data/spec/fixtures/chute_cassettes/albums/albums_stats.yml +17 -33
- data/spec/fixtures/chute_cassettes/albums/albums_update.yml +23 -39
- data/spec/fixtures/chute_cassettes/assets/assets_delete.yml +20 -36
- data/spec/fixtures/chute_cassettes/assets/assets_geo.yml +24 -48
- data/spec/fixtures/chute_cassettes/assets/assets_get.yml +17 -33
- data/spec/fixtures/chute_cassettes/assets/assets_import.yml +8 -16
- data/spec/fixtures/chute_cassettes/assets/assets_list.yml +9 -17
- data/spec/fixtures/chute_cassettes/assets/assets_update.yml +18 -34
- data/spec/fixtures/chute_cassettes/comments/comments_create.yml +33 -57
- data/spec/fixtures/chute_cassettes/comments/comments_list.yml +44 -76
- data/spec/fixtures/chute_cassettes/flags/flags_methods.yml +50 -90
- data/spec/fixtures/chute_cassettes/hearts/hearts_methods.yml +41 -73
- data/spec/fixtures/chute_cassettes/tags/tags_assets.yml +50 -90
- data/spec/fixtures/chute_cassettes/triggers/trigger_errors.yml +7 -15
- data/spec/fixtures/chute_cassettes/triggers/triggers_cleanup.yml +30 -54
- data/spec/fixtures/chute_cassettes/triggers/triggers_create.yml +10 -18
- data/spec/fixtures/chute_cassettes/triggers/triggers_delete.yml +19 -35
- data/spec/fixtures/chute_cassettes/triggers/triggers_list.yml +12 -20
- data/spec/fixtures/chute_cassettes/triggers/triggers_update.yml +21 -37
- data/spec/fixtures/chute_cassettes/users/users_get.yml +14 -30
- data/spec/fixtures/chute_cassettes/users/users_me.yml +7 -15
- data/spec/fixtures/chute_cassettes/votes/votes_methods.yml +50 -90
- metadata +4 -19
| @@ -8,7 +8,7 @@ http_interactions: | |
| 8 8 | 
             
                  string: ! '{"album":{"name":"Created Album"}}'
         | 
| 9 9 | 
             
                headers:
         | 
| 10 10 | 
             
                  Authorization:
         | 
| 11 | 
            -
                  -  | 
| 11 | 
            +
                  - Bearer API KEY
         | 
| 12 12 | 
             
                  Content-Type:
         | 
| 13 13 | 
             
                  - application/json
         | 
| 14 14 | 
             
                  Accepts:
         | 
| @@ -25,31 +25,23 @@ http_interactions: | |
| 25 25 | 
             
                  Content-Type:
         | 
| 26 26 | 
             
                  - application/json; charset=utf-8
         | 
| 27 27 | 
             
                  Date:
         | 
| 28 | 
            -
                  - Mon,  | 
| 28 | 
            +
                  - Mon, 22 Apr 2013 22:25:57 GMT
         | 
| 29 29 | 
             
                  Etag:
         | 
| 30 | 
            -
                  - ! '" | 
| 30 | 
            +
                  - ! '"78b600f5cc984fc9a4d987166ddb4cbb"'
         | 
| 31 31 | 
             
                  Last-Modified:
         | 
| 32 | 
            -
                  - Mon,  | 
| 32 | 
            +
                  - Mon, 22 Apr 2013 22:25:57 GMT
         | 
| 33 33 | 
             
                  Server:
         | 
| 34 34 | 
             
                  - nginx/1.2.7 + Phusion Passenger 3.0.18 (mod_rails/mod_rack)
         | 
| 35 35 | 
             
                  Status:
         | 
| 36 36 | 
             
                  - '201'
         | 
| 37 | 
            -
                  X-Available-Hourly-Calls:
         | 
| 38 | 
            -
                  - '4999908'
         | 
| 39 | 
            -
                  X-Available-Monthly-Calls:
         | 
| 40 | 
            -
                  - '3719999849'
         | 
| 41 | 
            -
                  X-Max-Hourly-Calls:
         | 
| 42 | 
            -
                  - '5000000'
         | 
| 43 | 
            -
                  X-Max-Monthly-Calls:
         | 
| 44 | 
            -
                  - '3720000000'
         | 
| 45 37 | 
             
                  X-Powered-By:
         | 
| 46 38 | 
             
                  - Phusion Passenger (mod_rails/mod_rack) 3.0.18
         | 
| 47 39 | 
             
                  X-Rack-Cache:
         | 
| 48 40 | 
             
                  - invalidate, pass
         | 
| 49 41 | 
             
                  X-Request-Id:
         | 
| 50 | 
            -
                  -  | 
| 42 | 
            +
                  - 982bed575db472ab475c632eb79e4150
         | 
| 51 43 | 
             
                  X-Runtime:
         | 
| 52 | 
            -
                  - '0. | 
| 44 | 
            +
                  - '0.057064'
         | 
| 53 45 | 
             
                  X-Ua-Compatible:
         | 
| 54 46 | 
             
                  - IE=Edge,chrome=1
         | 
| 55 47 | 
             
                  Transfer-Encoding:
         | 
| @@ -58,23 +50,23 @@ http_interactions: | |
| 58 50 | 
             
                  - keep-alive
         | 
| 59 51 | 
             
                body:
         | 
| 60 52 | 
             
                  encoding: US-ASCII
         | 
| 61 | 
            -
                  string: ! '{"response":{"title":"Album Details","version":2,"code":201,"href":"https://api.getchute.com/v2/albums?album%5Bname%5D=Created+Album" | 
| 62 | 
            -
                    Details"},"assets":{"href":"http://api.getchute.com/v2/albums/ | 
| 63 | 
            -
                    Listing"},"parcels":{"href":"http://api.getchute.com/v2/albums/ | 
| 64 | 
            -
                    Listing"}},"created_at":"2013-04- | 
| 53 | 
            +
                  string: ! '{"response":{"title":"Album Details","version":2,"code":201,"href":"https://api.getchute.com/v2/albums?album%5Bname%5D=Created+Album"},"data":{"id":2412448,"links":{"self":{"href":"http://api.getchute.com/v2/albums/2412448","title":"Album
         | 
| 54 | 
            +
                    Details"},"assets":{"href":"http://api.getchute.com/v2/albums/2412448/assets","title":"Asset
         | 
| 55 | 
            +
                    Listing"},"parcels":{"href":"http://api.getchute.com/v2/albums/2412448/parcels","title":"Parcel
         | 
| 56 | 
            +
                    Listing"}},"created_at":"2013-04-22T22:25:57Z","updated_at":"2013-04-22T22:25:57Z","shortcut":"a7Aszoeg","name":"Created
         | 
| 65 57 | 
             
                    Album","description":null,"user":{"id":545,"links":{"self":{"href":"http://api.getchute.com/v2/users/545","title":"User
         | 
| 66 58 | 
             
                    Details"}},"created_at":"2012-01-17T19:53:39Z","updated_at":"2012-09-15T10:55:51Z","name":"darko1002001","username":"darko1002001","avatar":"http://static.getchute.com/v1/images/avatar-100x100.png","profile":null},"moderate_media":false,"moderate_comments":false,"parent_id":null}}'
         | 
| 67 59 | 
             
                http_version: 
         | 
| 68 | 
            -
              recorded_at: Mon,  | 
| 60 | 
            +
              recorded_at: Mon, 22 Apr 2013 22:25:57 GMT
         | 
| 69 61 | 
             
            - request:
         | 
| 70 62 | 
             
                method: get
         | 
| 71 | 
            -
                uri: https://api.getchute.com/v2/albums/ | 
| 63 | 
            +
                uri: https://api.getchute.com/v2/albums/2412448
         | 
| 72 64 | 
             
                body:
         | 
| 73 65 | 
             
                  encoding: UTF-8
         | 
| 74 66 | 
             
                  string: ! '{}'
         | 
| 75 67 | 
             
                headers:
         | 
| 76 68 | 
             
                  Authorization:
         | 
| 77 | 
            -
                  -  | 
| 69 | 
            +
                  - Bearer API KEY
         | 
| 78 70 | 
             
                  Content-Type:
         | 
| 79 71 | 
             
                  - application/json
         | 
| 80 72 | 
             
                  Accepts:
         | 
| @@ -91,31 +83,23 @@ http_interactions: | |
| 91 83 | 
             
                  Content-Type:
         | 
| 92 84 | 
             
                  - application/json; charset=utf-8
         | 
| 93 85 | 
             
                  Date:
         | 
| 94 | 
            -
                  - Mon,  | 
| 86 | 
            +
                  - Mon, 22 Apr 2013 22:25:58 GMT
         | 
| 95 87 | 
             
                  Etag:
         | 
| 96 | 
            -
                  - ! '" | 
| 88 | 
            +
                  - ! '"78b600f5cc984fc9a4d987166ddb4cbb"'
         | 
| 97 89 | 
             
                  Last-Modified:
         | 
| 98 | 
            -
                  - Mon,  | 
| 90 | 
            +
                  - Mon, 22 Apr 2013 22:25:57 GMT
         | 
| 99 91 | 
             
                  Server:
         | 
| 100 92 | 
             
                  - nginx/1.2.7 + Phusion Passenger 3.0.18 (mod_rails/mod_rack)
         | 
| 101 93 | 
             
                  Status:
         | 
| 102 94 | 
             
                  - '200'
         | 
| 103 | 
            -
                  X-Available-Hourly-Calls:
         | 
| 104 | 
            -
                  - '4999906'
         | 
| 105 | 
            -
                  X-Available-Monthly-Calls:
         | 
| 106 | 
            -
                  - '3719999847'
         | 
| 107 | 
            -
                  X-Max-Hourly-Calls:
         | 
| 108 | 
            -
                  - '5000000'
         | 
| 109 | 
            -
                  X-Max-Monthly-Calls:
         | 
| 110 | 
            -
                  - '3720000000'
         | 
| 111 95 | 
             
                  X-Powered-By:
         | 
| 112 96 | 
             
                  - Phusion Passenger (mod_rails/mod_rack) 3.0.18
         | 
| 113 97 | 
             
                  X-Rack-Cache:
         | 
| 114 98 | 
             
                  - miss
         | 
| 115 99 | 
             
                  X-Request-Id:
         | 
| 116 | 
            -
                  -  | 
| 100 | 
            +
                  - fdaab52b812b867797f4cb435e982788
         | 
| 117 101 | 
             
                  X-Runtime:
         | 
| 118 | 
            -
                  - '0. | 
| 102 | 
            +
                  - '0.048209'
         | 
| 119 103 | 
             
                  X-Ua-Compatible:
         | 
| 120 104 | 
             
                  - IE=Edge,chrome=1
         | 
| 121 105 | 
             
                  Transfer-Encoding:
         | 
| @@ -124,12 +108,12 @@ http_interactions: | |
| 124 108 | 
             
                  - keep-alive
         | 
| 125 109 | 
             
                body:
         | 
| 126 110 | 
             
                  encoding: US-ASCII
         | 
| 127 | 
            -
                  string: ! '{"response":{"title":"Album Details","version":2,"code":200,"href":"https://api.getchute.com/v2/albums/ | 
| 128 | 
            -
                    Details"},"assets":{"href":"http://api.getchute.com/v2/albums/ | 
| 129 | 
            -
                    Listing"},"parcels":{"href":"http://api.getchute.com/v2/albums/ | 
| 130 | 
            -
                    Listing"}},"created_at":"2013-04- | 
| 111 | 
            +
                  string: ! '{"response":{"title":"Album Details","version":2,"code":200,"href":"https://api.getchute.com/v2/albums/2412448?"},"data":{"id":2412448,"links":{"self":{"href":"http://api.getchute.com/v2/albums/2412448","title":"Album
         | 
| 112 | 
            +
                    Details"},"assets":{"href":"http://api.getchute.com/v2/albums/2412448/assets","title":"Asset
         | 
| 113 | 
            +
                    Listing"},"parcels":{"href":"http://api.getchute.com/v2/albums/2412448/parcels","title":"Parcel
         | 
| 114 | 
            +
                    Listing"}},"created_at":"2013-04-22T22:25:57Z","updated_at":"2013-04-22T22:25:57Z","shortcut":"a7Aszoeg","name":"Created
         | 
| 131 115 | 
             
                    Album","description":null,"user":{"id":545,"links":{"self":{"href":"http://api.getchute.com/v2/users/545","title":"User
         | 
| 132 116 | 
             
                    Details"}},"created_at":"2012-01-17T19:53:39Z","updated_at":"2012-09-15T10:55:51Z","name":"darko1002001","username":"darko1002001","avatar":"http://static.getchute.com/v1/images/avatar-100x100.png","profile":null},"moderate_media":false,"moderate_comments":false,"parent_id":null}}'
         | 
| 133 117 | 
             
                http_version: 
         | 
| 134 | 
            -
              recorded_at: Mon,  | 
| 118 | 
            +
              recorded_at: Mon, 22 Apr 2013 22:25:58 GMT
         | 
| 135 119 | 
             
            recorded_with: VCR 2.2.5
         | 
| @@ -8,7 +8,7 @@ http_interactions: | |
| 8 8 | 
             
                  string: ! '{"page":null,"per_page":null}'
         | 
| 9 9 | 
             
                headers:
         | 
| 10 10 | 
             
                  Authorization:
         | 
| 11 | 
            -
                  -  | 
| 11 | 
            +
                  - Bearer API KEY
         | 
| 12 12 | 
             
                  Content-Type:
         | 
| 13 13 | 
             
                  - application/json
         | 
| 14 14 | 
             
                  Accepts:
         | 
| @@ -25,31 +25,23 @@ http_interactions: | |
| 25 25 | 
             
                  Content-Type:
         | 
| 26 26 | 
             
                  - application/json; charset=utf-8
         | 
| 27 27 | 
             
                  Date:
         | 
| 28 | 
            -
                  - Mon,  | 
| 28 | 
            +
                  - Mon, 22 Apr 2013 22:25:55 GMT
         | 
| 29 29 | 
             
                  Etag:
         | 
| 30 | 
            -
                  - ! '" | 
| 30 | 
            +
                  - ! '"e389f2753dfd4db92fe114f0a411322e"'
         | 
| 31 31 | 
             
                  Last-Modified:
         | 
| 32 | 
            -
                  - Mon,  | 
| 32 | 
            +
                  - Mon, 22 Apr 2013 22:24:44 GMT
         | 
| 33 33 | 
             
                  Server:
         | 
| 34 34 | 
             
                  - nginx/1.2.7 + Phusion Passenger 3.0.18 (mod_rails/mod_rack)
         | 
| 35 35 | 
             
                  Status:
         | 
| 36 36 | 
             
                  - '200'
         | 
| 37 | 
            -
                  X-Available-Hourly-Calls:
         | 
| 38 | 
            -
                  - '4999911'
         | 
| 39 | 
            -
                  X-Available-Monthly-Calls:
         | 
| 40 | 
            -
                  - '3719999852'
         | 
| 41 | 
            -
                  X-Max-Hourly-Calls:
         | 
| 42 | 
            -
                  - '5000000'
         | 
| 43 | 
            -
                  X-Max-Monthly-Calls:
         | 
| 44 | 
            -
                  - '3720000000'
         | 
| 45 37 | 
             
                  X-Powered-By:
         | 
| 46 38 | 
             
                  - Phusion Passenger (mod_rails/mod_rack) 3.0.18
         | 
| 47 39 | 
             
                  X-Rack-Cache:
         | 
| 48 40 | 
             
                  - miss
         | 
| 49 41 | 
             
                  X-Request-Id:
         | 
| 50 | 
            -
                  -  | 
| 42 | 
            +
                  - 3ad7e4d1b04d0bb7c4d05f5a0b0237f6
         | 
| 51 43 | 
             
                  X-Runtime:
         | 
| 52 | 
            -
                  - '0. | 
| 44 | 
            +
                  - '0.065093'
         | 
| 53 45 | 
             
                  X-Ua-Compatible:
         | 
| 54 46 | 
             
                  - IE=Edge,chrome=1
         | 
| 55 47 | 
             
                  Transfer-Encoding:
         | 
| @@ -58,32 +50,32 @@ http_interactions: | |
| 58 50 | 
             
                  - keep-alive
         | 
| 59 51 | 
             
                body:
         | 
| 60 52 | 
             
                  encoding: US-ASCII
         | 
| 61 | 
            -
                  string: ! '{"response":{"title":"Album Listing","version":2,"code":200,"href":"https://api.getchute.com/v2/albums?" | 
| 62 | 
            -
                    Details"},"assets":{"href":"http://api.getchute.com/v2/albums/ | 
| 63 | 
            -
                    Listing"},"parcels":{"href":"http://api.getchute.com/v2/albums/ | 
| 64 | 
            -
                    Listing"}},"created_at":"2013-04- | 
| 53 | 
            +
                  string: ! '{"response":{"title":"Album Listing","version":2,"code":200,"href":"https://api.getchute.com/v2/albums?"},"data":[{"id":2412445,"links":{"self":{"href":"http://api.getchute.com/v2/albums/2412445","title":"Album
         | 
| 54 | 
            +
                    Details"},"assets":{"href":"http://api.getchute.com/v2/albums/2412445/assets","title":"Asset
         | 
| 55 | 
            +
                    Listing"},"parcels":{"href":"http://api.getchute.com/v2/albums/2412445/parcels","title":"Parcel
         | 
| 56 | 
            +
                    Listing"}},"created_at":"2013-04-22T22:24:44Z","updated_at":"2013-04-22T22:24:44Z","shortcut":"a7Apduiy","name":"Album
         | 
| 65 57 | 
             
                    for Votes","description":null,"user":{"id":545,"links":{"self":{"href":"http://api.getchute.com/v2/users/545","title":"User
         | 
| 66 | 
            -
                    Details"}},"created_at":"2012-01-17T19:53:39Z","updated_at":"2012-09-15T10:55:51Z","name":"darko1002001","username":"darko1002001","avatar":"http://static.getchute.com/v1/images/avatar-100x100.png","profile":null},"moderate_media":false,"moderate_comments":false,"parent_id":null},{"id": | 
| 67 | 
            -
                    Details"},"assets":{"href":"http://api.getchute.com/v2/albums/ | 
| 68 | 
            -
                    Listing"},"parcels":{"href":"http://api.getchute.com/v2/albums/ | 
| 69 | 
            -
                    Listing"}},"created_at":"2013-04- | 
| 58 | 
            +
                    Details"}},"created_at":"2012-01-17T19:53:39Z","updated_at":"2012-09-15T10:55:51Z","name":"darko1002001","username":"darko1002001","avatar":"http://static.getchute.com/v1/images/avatar-100x100.png","profile":null},"moderate_media":false,"moderate_comments":false,"parent_id":null},{"id":2412444,"links":{"self":{"href":"http://api.getchute.com/v2/albums/2412444","title":"Album
         | 
| 59 | 
            +
                    Details"},"assets":{"href":"http://api.getchute.com/v2/albums/2412444/assets","title":"Asset
         | 
| 60 | 
            +
                    Listing"},"parcels":{"href":"http://api.getchute.com/v2/albums/2412444/parcels","title":"Parcel
         | 
| 61 | 
            +
                    Listing"}},"created_at":"2013-04-22T22:24:34Z","updated_at":"2013-04-22T22:24:34Z","shortcut":"a7Aojgxw","name":"Album
         | 
| 70 62 | 
             
                    for Tags","description":null,"user":{"id":545,"links":{"self":{"href":"http://api.getchute.com/v2/users/545","title":"User
         | 
| 71 | 
            -
                    Details"}},"created_at":"2012-01-17T19:53:39Z","updated_at":"2012-09-15T10:55:51Z","name":"darko1002001","username":"darko1002001","avatar":"http://static.getchute.com/v1/images/avatar-100x100.png","profile":null},"moderate_media":false,"moderate_comments":false,"parent_id":null},{"id": | 
| 72 | 
            -
                    Details"},"assets":{"href":"http://api.getchute.com/v2/albums/ | 
| 73 | 
            -
                    Listing"},"parcels":{"href":"http://api.getchute.com/v2/albums/ | 
| 74 | 
            -
                    Listing"}},"created_at":"2013-04- | 
| 63 | 
            +
                    Details"}},"created_at":"2012-01-17T19:53:39Z","updated_at":"2012-09-15T10:55:51Z","name":"darko1002001","username":"darko1002001","avatar":"http://static.getchute.com/v1/images/avatar-100x100.png","profile":null},"moderate_media":false,"moderate_comments":false,"parent_id":null},{"id":2412443,"links":{"self":{"href":"http://api.getchute.com/v2/albums/2412443","title":"Album
         | 
| 64 | 
            +
                    Details"},"assets":{"href":"http://api.getchute.com/v2/albums/2412443/assets","title":"Asset
         | 
| 65 | 
            +
                    Listing"},"parcels":{"href":"http://api.getchute.com/v2/albums/2412443/parcels","title":"Parcel
         | 
| 66 | 
            +
                    Listing"}},"created_at":"2013-04-22T22:24:32Z","updated_at":"2013-04-22T22:24:32Z","shortcut":"a7Anmrxf","name":"Album
         | 
| 75 67 | 
             
                    for Hearts","description":null,"user":{"id":545,"links":{"self":{"href":"http://api.getchute.com/v2/users/545","title":"User
         | 
| 76 | 
            -
                    Details"}},"created_at":"2012-01-17T19:53:39Z","updated_at":"2012-09-15T10:55:51Z","name":"darko1002001","username":"darko1002001","avatar":"http://static.getchute.com/v1/images/avatar-100x100.png","profile":null},"moderate_media":false,"moderate_comments":false,"parent_id":null},{"id": | 
| 77 | 
            -
                    Details"},"assets":{"href":"http://api.getchute.com/v2/albums/ | 
| 78 | 
            -
                    Listing"},"parcels":{"href":"http://api.getchute.com/v2/albums/ | 
| 79 | 
            -
                    Listing"}},"created_at":"2013-04- | 
| 68 | 
            +
                    Details"}},"created_at":"2012-01-17T19:53:39Z","updated_at":"2012-09-15T10:55:51Z","name":"darko1002001","username":"darko1002001","avatar":"http://static.getchute.com/v1/images/avatar-100x100.png","profile":null},"moderate_media":false,"moderate_comments":false,"parent_id":null},{"id":2412442,"links":{"self":{"href":"http://api.getchute.com/v2/albums/2412442","title":"Album
         | 
| 69 | 
            +
                    Details"},"assets":{"href":"http://api.getchute.com/v2/albums/2412442/assets","title":"Asset
         | 
| 70 | 
            +
                    Listing"},"parcels":{"href":"http://api.getchute.com/v2/albums/2412442/parcels","title":"Parcel
         | 
| 71 | 
            +
                    Listing"}},"created_at":"2013-04-22T22:24:29Z","updated_at":"2013-04-22T22:24:29Z","shortcut":"a7Amanwe","name":"Album
         | 
| 80 72 | 
             
                    for Flags","description":null,"user":{"id":545,"links":{"self":{"href":"http://api.getchute.com/v2/users/545","title":"User
         | 
| 81 | 
            -
                    Details"}},"created_at":"2012-01-17T19:53:39Z","updated_at":"2012-09-15T10:55:51Z","name":"darko1002001","username":"darko1002001","avatar":"http://static.getchute.com/v1/images/avatar-100x100.png","profile":null},"moderate_media":false,"moderate_comments":false,"parent_id":null},{"id": | 
| 82 | 
            -
                    Details"},"assets":{"href":"http://api.getchute.com/v2/albums/ | 
| 83 | 
            -
                    Listing"},"parcels":{"href":"http://api.getchute.com/v2/albums/ | 
| 84 | 
            -
                    Listing"}},"created_at":"2013-04- | 
| 73 | 
            +
                    Details"}},"created_at":"2012-01-17T19:53:39Z","updated_at":"2012-09-15T10:55:51Z","name":"darko1002001","username":"darko1002001","avatar":"http://static.getchute.com/v1/images/avatar-100x100.png","profile":null},"moderate_media":false,"moderate_comments":false,"parent_id":null},{"id":2412441,"links":{"self":{"href":"http://api.getchute.com/v2/albums/2412441","title":"Album
         | 
| 74 | 
            +
                    Details"},"assets":{"href":"http://api.getchute.com/v2/albums/2412441/assets","title":"Asset
         | 
| 75 | 
            +
                    Listing"},"parcels":{"href":"http://api.getchute.com/v2/albums/2412441/parcels","title":"Parcel
         | 
| 76 | 
            +
                    Listing"}},"created_at":"2013-04-22T22:24:27Z","updated_at":"2013-04-22T22:24:27Z","shortcut":"a7Aldxna","name":"Album
         | 
| 85 77 | 
             
                    for Comments","description":null,"user":{"id":545,"links":{"self":{"href":"http://api.getchute.com/v2/users/545","title":"User
         | 
| 86 78 | 
             
                    Details"}},"created_at":"2012-01-17T19:53:39Z","updated_at":"2012-09-15T10:55:51Z","name":"darko1002001","username":"darko1002001","avatar":"http://static.getchute.com/v1/images/avatar-100x100.png","profile":null},"moderate_media":false,"moderate_comments":false,"parent_id":null}],"pagination":{"current_page":1,"next_page":"https://api.getchute.com/v2/albums?&page=2","previous_page":null,"first_page":"https://api.getchute.com/v2/albums?","per_page":5}}'
         | 
| 87 79 | 
             
                http_version: 
         | 
| 88 | 
            -
              recorded_at: Mon,  | 
| 80 | 
            +
              recorded_at: Mon, 22 Apr 2013 22:25:56 GMT
         | 
| 89 81 | 
             
            recorded_with: VCR 2.2.5
         | 
| @@ -8,7 +8,7 @@ http_interactions: | |
| 8 8 | 
             
                  string: ! '{"album":{"name":"Created Album"}}'
         | 
| 9 9 | 
             
                headers:
         | 
| 10 10 | 
             
                  Authorization:
         | 
| 11 | 
            -
                  -  | 
| 11 | 
            +
                  - Bearer API KEY
         | 
| 12 12 | 
             
                  Content-Type:
         | 
| 13 13 | 
             
                  - application/json
         | 
| 14 14 | 
             
                  Accepts:
         | 
| @@ -25,31 +25,23 @@ http_interactions: | |
| 25 25 | 
             
                  Content-Type:
         | 
| 26 26 | 
             
                  - application/json; charset=utf-8
         | 
| 27 27 | 
             
                  Date:
         | 
| 28 | 
            -
                  - Mon,  | 
| 28 | 
            +
                  - Mon, 22 Apr 2013 22:26:00 GMT
         | 
| 29 29 | 
             
                  Etag:
         | 
| 30 | 
            -
                  - ! '" | 
| 30 | 
            +
                  - ! '"4cd192fa67dddd876b7910d117ac4db7"'
         | 
| 31 31 | 
             
                  Last-Modified:
         | 
| 32 | 
            -
                  - Mon,  | 
| 32 | 
            +
                  - Mon, 22 Apr 2013 22:26:00 GMT
         | 
| 33 33 | 
             
                  Server:
         | 
| 34 34 | 
             
                  - nginx/1.2.7 + Phusion Passenger 3.0.18 (mod_rails/mod_rack)
         | 
| 35 35 | 
             
                  Status:
         | 
| 36 36 | 
             
                  - '201'
         | 
| 37 | 
            -
                  X-Available-Hourly-Calls:
         | 
| 38 | 
            -
                  - '4999901'
         | 
| 39 | 
            -
                  X-Available-Monthly-Calls:
         | 
| 40 | 
            -
                  - '3719999842'
         | 
| 41 | 
            -
                  X-Max-Hourly-Calls:
         | 
| 42 | 
            -
                  - '5000000'
         | 
| 43 | 
            -
                  X-Max-Monthly-Calls:
         | 
| 44 | 
            -
                  - '3720000000'
         | 
| 45 37 | 
             
                  X-Powered-By:
         | 
| 46 38 | 
             
                  - Phusion Passenger (mod_rails/mod_rack) 3.0.18
         | 
| 47 39 | 
             
                  X-Rack-Cache:
         | 
| 48 40 | 
             
                  - invalidate, pass
         | 
| 49 41 | 
             
                  X-Request-Id:
         | 
| 50 | 
            -
                  -  | 
| 42 | 
            +
                  - 6fac644b99b316a218fa4697759ec1f1
         | 
| 51 43 | 
             
                  X-Runtime:
         | 
| 52 | 
            -
                  - '0. | 
| 44 | 
            +
                  - '0.067889'
         | 
| 53 45 | 
             
                  X-Ua-Compatible:
         | 
| 54 46 | 
             
                  - IE=Edge,chrome=1
         | 
| 55 47 | 
             
                  Transfer-Encoding:
         | 
| @@ -58,23 +50,23 @@ http_interactions: | |
| 58 50 | 
             
                  - keep-alive
         | 
| 59 51 | 
             
                body:
         | 
| 60 52 | 
             
                  encoding: US-ASCII
         | 
| 61 | 
            -
                  string: ! '{"response":{"title":"Album Details","version":2,"code":201,"href":"https://api.getchute.com/v2/albums?album%5Bname%5D=Created+Album" | 
| 62 | 
            -
                    Details"},"assets":{"href":"http://api.getchute.com/v2/albums/ | 
| 63 | 
            -
                    Listing"},"parcels":{"href":"http://api.getchute.com/v2/albums/ | 
| 64 | 
            -
                    Listing"}},"created_at":"2013-04- | 
| 53 | 
            +
                  string: ! '{"response":{"title":"Album Details","version":2,"code":201,"href":"https://api.getchute.com/v2/albums?album%5Bname%5D=Created+Album"},"data":{"id":2412451,"links":{"self":{"href":"http://api.getchute.com/v2/albums/2412451","title":"Album
         | 
| 54 | 
            +
                    Details"},"assets":{"href":"http://api.getchute.com/v2/albums/2412451/assets","title":"Asset
         | 
| 55 | 
            +
                    Listing"},"parcels":{"href":"http://api.getchute.com/v2/albums/2412451/parcels","title":"Parcel
         | 
| 56 | 
            +
                    Listing"}},"created_at":"2013-04-22T22:26:00Z","updated_at":"2013-04-22T22:26:00Z","shortcut":"a7Avamfj","name":"Created
         | 
| 65 57 | 
             
                    Album","description":null,"user":{"id":545,"links":{"self":{"href":"http://api.getchute.com/v2/users/545","title":"User
         | 
| 66 58 | 
             
                    Details"}},"created_at":"2012-01-17T19:53:39Z","updated_at":"2012-09-15T10:55:51Z","name":"darko1002001","username":"darko1002001","avatar":"http://static.getchute.com/v1/images/avatar-100x100.png","profile":null},"moderate_media":false,"moderate_comments":false,"parent_id":null}}'
         | 
| 67 59 | 
             
                http_version: 
         | 
| 68 | 
            -
              recorded_at: Mon,  | 
| 60 | 
            +
              recorded_at: Mon, 22 Apr 2013 22:26:00 GMT
         | 
| 69 61 | 
             
            - request:
         | 
| 70 62 | 
             
                method: get
         | 
| 71 | 
            -
                uri: https://api.getchute.com/v2/albums/ | 
| 63 | 
            +
                uri: https://api.getchute.com/v2/albums/2412451/stats
         | 
| 72 64 | 
             
                body:
         | 
| 73 65 | 
             
                  encoding: UTF-8
         | 
| 74 66 | 
             
                  string: ! '{}'
         | 
| 75 67 | 
             
                headers:
         | 
| 76 68 | 
             
                  Authorization:
         | 
| 77 | 
            -
                  -  | 
| 69 | 
            +
                  - Bearer API KEY
         | 
| 78 70 | 
             
                  Content-Type:
         | 
| 79 71 | 
             
                  - application/json
         | 
| 80 72 | 
             
                  Accepts:
         | 
| @@ -91,29 +83,21 @@ http_interactions: | |
| 91 83 | 
             
                  Content-Type:
         | 
| 92 84 | 
             
                  - application/json; charset=utf-8
         | 
| 93 85 | 
             
                  Date:
         | 
| 94 | 
            -
                  - Mon,  | 
| 86 | 
            +
                  - Mon, 22 Apr 2013 22:26:01 GMT
         | 
| 95 87 | 
             
                  Etag:
         | 
| 96 88 | 
             
                  - ! '"9c8dba3fdef8910a2b527f34fd9d6b97"'
         | 
| 97 89 | 
             
                  Server:
         | 
| 98 90 | 
             
                  - nginx/1.2.7 + Phusion Passenger 3.0.18 (mod_rails/mod_rack)
         | 
| 99 91 | 
             
                  Status:
         | 
| 100 92 | 
             
                  - '200'
         | 
| 101 | 
            -
                  X-Available-Hourly-Calls:
         | 
| 102 | 
            -
                  - '4999900'
         | 
| 103 | 
            -
                  X-Available-Monthly-Calls:
         | 
| 104 | 
            -
                  - '3719999841'
         | 
| 105 | 
            -
                  X-Max-Hourly-Calls:
         | 
| 106 | 
            -
                  - '5000000'
         | 
| 107 | 
            -
                  X-Max-Monthly-Calls:
         | 
| 108 | 
            -
                  - '3720000000'
         | 
| 109 93 | 
             
                  X-Powered-By:
         | 
| 110 94 | 
             
                  - Phusion Passenger (mod_rails/mod_rack) 3.0.18
         | 
| 111 95 | 
             
                  X-Rack-Cache:
         | 
| 112 96 | 
             
                  - miss
         | 
| 113 97 | 
             
                  X-Request-Id:
         | 
| 114 | 
            -
                  -  | 
| 98 | 
            +
                  - c70d30f3a98a2f31b350415f60ed2489
         | 
| 115 99 | 
             
                  X-Runtime:
         | 
| 116 | 
            -
                  - '0. | 
| 100 | 
            +
                  - '0.172689'
         | 
| 117 101 | 
             
                  X-Ua-Compatible:
         | 
| 118 102 | 
             
                  - IE=Edge,chrome=1
         | 
| 119 103 | 
             
                  Content-Length:
         | 
| @@ -124,5 +108,5 @@ http_interactions: | |
| 124 108 | 
             
                  encoding: US-ASCII
         | 
| 125 109 | 
             
                  string: ! '{"data":{"user_counts":{"via_upload":0,"via_import":0},"source_counts":{"uploads":0,"imports":0}}}'
         | 
| 126 110 | 
             
                http_version: 
         | 
| 127 | 
            -
              recorded_at: Mon,  | 
| 111 | 
            +
              recorded_at: Mon, 22 Apr 2013 22:26:01 GMT
         | 
| 128 112 | 
             
            recorded_with: VCR 2.2.5
         | 
| @@ -8,7 +8,7 @@ http_interactions: | |
| 8 8 | 
             
                  string: ! '{"album":{"name":"Created Album"}}'
         | 
| 9 9 | 
             
                headers:
         | 
| 10 10 | 
             
                  Authorization:
         | 
| 11 | 
            -
                  -  | 
| 11 | 
            +
                  - Bearer API KEY
         | 
| 12 12 | 
             
                  Content-Type:
         | 
| 13 13 | 
             
                  - application/json
         | 
| 14 14 | 
             
                  Accepts:
         | 
| @@ -25,31 +25,23 @@ http_interactions: | |
| 25 25 | 
             
                  Content-Type:
         | 
| 26 26 | 
             
                  - application/json; charset=utf-8
         | 
| 27 27 | 
             
                  Date:
         | 
| 28 | 
            -
                  - Mon,  | 
| 28 | 
            +
                  - Mon, 22 Apr 2013 22:25:58 GMT
         | 
| 29 29 | 
             
                  Etag:
         | 
| 30 | 
            -
                  - ! '" | 
| 30 | 
            +
                  - ! '"404a5e6de4cf9ed1ee40ac8d78e6783f"'
         | 
| 31 31 | 
             
                  Last-Modified:
         | 
| 32 | 
            -
                  - Mon,  | 
| 32 | 
            +
                  - Mon, 22 Apr 2013 22:25:58 GMT
         | 
| 33 33 | 
             
                  Server:
         | 
| 34 34 | 
             
                  - nginx/1.2.7 + Phusion Passenger 3.0.18 (mod_rails/mod_rack)
         | 
| 35 35 | 
             
                  Status:
         | 
| 36 36 | 
             
                  - '201'
         | 
| 37 | 
            -
                  X-Available-Hourly-Calls:
         | 
| 38 | 
            -
                  - '4999905'
         | 
| 39 | 
            -
                  X-Available-Monthly-Calls:
         | 
| 40 | 
            -
                  - '3719999846'
         | 
| 41 | 
            -
                  X-Max-Hourly-Calls:
         | 
| 42 | 
            -
                  - '5000000'
         | 
| 43 | 
            -
                  X-Max-Monthly-Calls:
         | 
| 44 | 
            -
                  - '3720000000'
         | 
| 45 37 | 
             
                  X-Powered-By:
         | 
| 46 38 | 
             
                  - Phusion Passenger (mod_rails/mod_rack) 3.0.18
         | 
| 47 39 | 
             
                  X-Rack-Cache:
         | 
| 48 40 | 
             
                  - invalidate, pass
         | 
| 49 41 | 
             
                  X-Request-Id:
         | 
| 50 | 
            -
                  -  | 
| 42 | 
            +
                  - c48e8abbfec7f960c5ffbed20b53eda1
         | 
| 51 43 | 
             
                  X-Runtime:
         | 
| 52 | 
            -
                  - '0. | 
| 44 | 
            +
                  - '0.054299'
         | 
| 53 45 | 
             
                  X-Ua-Compatible:
         | 
| 54 46 | 
             
                  - IE=Edge,chrome=1
         | 
| 55 47 | 
             
                  Transfer-Encoding:
         | 
| @@ -58,23 +50,23 @@ http_interactions: | |
| 58 50 | 
             
                  - keep-alive
         | 
| 59 51 | 
             
                body:
         | 
| 60 52 | 
             
                  encoding: US-ASCII
         | 
| 61 | 
            -
                  string: ! '{"response":{"title":"Album Details","version":2,"code":201,"href":"https://api.getchute.com/v2/albums?album%5Bname%5D=Created+Album" | 
| 62 | 
            -
                    Details"},"assets":{"href":"http://api.getchute.com/v2/albums/ | 
| 63 | 
            -
                    Listing"},"parcels":{"href":"http://api.getchute.com/v2/albums/ | 
| 64 | 
            -
                    Listing"}},"created_at":"2013-04- | 
| 53 | 
            +
                  string: ! '{"response":{"title":"Album Details","version":2,"code":201,"href":"https://api.getchute.com/v2/albums?album%5Bname%5D=Created+Album"},"data":{"id":2412449,"links":{"self":{"href":"http://api.getchute.com/v2/albums/2412449","title":"Album
         | 
| 54 | 
            +
                    Details"},"assets":{"href":"http://api.getchute.com/v2/albums/2412449/assets","title":"Asset
         | 
| 55 | 
            +
                    Listing"},"parcels":{"href":"http://api.getchute.com/v2/albums/2412449/parcels","title":"Parcel
         | 
| 56 | 
            +
                    Listing"}},"created_at":"2013-04-22T22:25:58Z","updated_at":"2013-04-22T22:25:58Z","shortcut":"a7Atjblz","name":"Created
         | 
| 65 57 | 
             
                    Album","description":null,"user":{"id":545,"links":{"self":{"href":"http://api.getchute.com/v2/users/545","title":"User
         | 
| 66 58 | 
             
                    Details"}},"created_at":"2012-01-17T19:53:39Z","updated_at":"2012-09-15T10:55:51Z","name":"darko1002001","username":"darko1002001","avatar":"http://static.getchute.com/v1/images/avatar-100x100.png","profile":null},"moderate_media":false,"moderate_comments":false,"parent_id":null}}'
         | 
| 67 59 | 
             
                http_version: 
         | 
| 68 | 
            -
              recorded_at: Mon,  | 
| 60 | 
            +
              recorded_at: Mon, 22 Apr 2013 22:25:58 GMT
         | 
| 69 61 | 
             
            - request:
         | 
| 70 62 | 
             
                method: put
         | 
| 71 | 
            -
                uri: https://api.getchute.com/v2/albums/ | 
| 63 | 
            +
                uri: https://api.getchute.com/v2/albums/2412449
         | 
| 72 64 | 
             
                body:
         | 
| 73 65 | 
             
                  encoding: UTF-8
         | 
| 74 66 | 
             
                  string: ! '{"album":{"name":"Updated Album"}}'
         | 
| 75 67 | 
             
                headers:
         | 
| 76 68 | 
             
                  Authorization:
         | 
| 77 | 
            -
                  -  | 
| 69 | 
            +
                  - Bearer API KEY
         | 
| 78 70 | 
             
                  Content-Type:
         | 
| 79 71 | 
             
                  - application/json
         | 
| 80 72 | 
             
                  Accepts:
         | 
| @@ -91,31 +83,23 @@ http_interactions: | |
| 91 83 | 
             
                  Content-Type:
         | 
| 92 84 | 
             
                  - application/json; charset=utf-8
         | 
| 93 85 | 
             
                  Date:
         | 
| 94 | 
            -
                  - Mon,  | 
| 86 | 
            +
                  - Mon, 22 Apr 2013 22:25:59 GMT
         | 
| 95 87 | 
             
                  Etag:
         | 
| 96 | 
            -
                  - ! '" | 
| 88 | 
            +
                  - ! '"404a5e6de4cf9ed1ee40ac8d78e6783f"'
         | 
| 97 89 | 
             
                  Last-Modified:
         | 
| 98 | 
            -
                  - Mon,  | 
| 90 | 
            +
                  - Mon, 22 Apr 2013 22:25:59 GMT
         | 
| 99 91 | 
             
                  Server:
         | 
| 100 92 | 
             
                  - nginx/1.2.7 + Phusion Passenger 3.0.18 (mod_rails/mod_rack)
         | 
| 101 93 | 
             
                  Status:
         | 
| 102 94 | 
             
                  - '200'
         | 
| 103 | 
            -
                  X-Available-Hourly-Calls:
         | 
| 104 | 
            -
                  - '4999904'
         | 
| 105 | 
            -
                  X-Available-Monthly-Calls:
         | 
| 106 | 
            -
                  - '3719999845'
         | 
| 107 | 
            -
                  X-Max-Hourly-Calls:
         | 
| 108 | 
            -
                  - '5000000'
         | 
| 109 | 
            -
                  X-Max-Monthly-Calls:
         | 
| 110 | 
            -
                  - '3720000000'
         | 
| 111 95 | 
             
                  X-Powered-By:
         | 
| 112 96 | 
             
                  - Phusion Passenger (mod_rails/mod_rack) 3.0.18
         | 
| 113 97 | 
             
                  X-Rack-Cache:
         | 
| 114 98 | 
             
                  - invalidate, pass
         | 
| 115 99 | 
             
                  X-Request-Id:
         | 
| 116 | 
            -
                  -  | 
| 100 | 
            +
                  - a2e3c2547ccfa9323641537c6a431839
         | 
| 117 101 | 
             
                  X-Runtime:
         | 
| 118 | 
            -
                  - '0. | 
| 102 | 
            +
                  - '0.067417'
         | 
| 119 103 | 
             
                  X-Ua-Compatible:
         | 
| 120 104 | 
             
                  - IE=Edge,chrome=1
         | 
| 121 105 | 
             
                  Transfer-Encoding:
         | 
| @@ -124,12 +108,12 @@ http_interactions: | |
| 124 108 | 
             
                  - keep-alive
         | 
| 125 109 | 
             
                body:
         | 
| 126 110 | 
             
                  encoding: US-ASCII
         | 
| 127 | 
            -
                  string: ! '{"response":{"title":"Album Details","version":2,"code":200,"href":"https://api.getchute.com/v2/albums/ | 
| 128 | 
            -
                    Details"},"assets":{"href":"http://api.getchute.com/v2/albums/ | 
| 129 | 
            -
                    Listing"},"parcels":{"href":"http://api.getchute.com/v2/albums/ | 
| 130 | 
            -
                    Listing"}},"created_at":"2013-04- | 
| 111 | 
            +
                  string: ! '{"response":{"title":"Album Details","version":2,"code":200,"href":"https://api.getchute.com/v2/albums/2412449?album%5Bname%5D=Updated+Album"},"data":{"id":2412449,"links":{"self":{"href":"http://api.getchute.com/v2/albums/2412449","title":"Album
         | 
| 112 | 
            +
                    Details"},"assets":{"href":"http://api.getchute.com/v2/albums/2412449/assets","title":"Asset
         | 
| 113 | 
            +
                    Listing"},"parcels":{"href":"http://api.getchute.com/v2/albums/2412449/parcels","title":"Parcel
         | 
| 114 | 
            +
                    Listing"}},"created_at":"2013-04-22T22:25:58Z","updated_at":"2013-04-22T22:25:59Z","shortcut":"a7Atjblz","name":"Updated
         | 
| 131 115 | 
             
                    Album","description":null,"user":{"id":545,"links":{"self":{"href":"http://api.getchute.com/v2/users/545","title":"User
         | 
| 132 116 | 
             
                    Details"}},"created_at":"2012-01-17T19:53:39Z","updated_at":"2012-09-15T10:55:51Z","name":"darko1002001","username":"darko1002001","avatar":"http://static.getchute.com/v1/images/avatar-100x100.png","profile":null},"moderate_media":false,"moderate_comments":false,"parent_id":null}}'
         | 
| 133 117 | 
             
                http_version: 
         | 
| 134 | 
            -
              recorded_at: Mon,  | 
| 118 | 
            +
              recorded_at: Mon, 22 Apr 2013 22:25:59 GMT
         | 
| 135 119 | 
             
            recorded_with: VCR 2.2.5
         |