spotify-client 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/spotify/version.rb +1 -1
- data/lib/spotify_client.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0922f733673b6c8619aa34da94c7ab5e17724e8f
|
4
|
+
data.tar.gz: 51959bb5dabe92a5492a4ff1d4b65f5e32e3313b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e170e666b11e89c940f8016a8e3699898dfcd737edab890716faf044a30fb14431b8c1e0e8cb821fdac3190656fb351907db9b1ca6e9da02180a7b80417a451
|
7
|
+
data.tar.gz: bc090b3b2fe7e764d2ec1d0ba623dfe77f15a8d11465eb9360e088a4d277739e571a7b3419426ec003231b36f5e67b26af9722f4a5519111ba6cde97654012e9
|
data/lib/spotify/version.rb
CHANGED
data/lib/spotify_client.rb
CHANGED
@@ -61,7 +61,7 @@ module Spotify
|
|
61
61
|
# Requires playlist-modify for a public playlist.
|
62
62
|
# Requires playlist-modify-private for a private playlist.
|
63
63
|
def create_user_playlist(user_id, name, is_public = true)
|
64
|
-
run(:post, "/v1/users/#{user_id}/playlists", [201], JSON.dump({ :name => name, :public => is_public }))
|
64
|
+
run(:post, "/v1/users/#{user_id}/playlists", [201], JSON.dump({ :name => name, :public => is_public }), false)
|
65
65
|
end
|
66
66
|
|
67
67
|
# Add an Array of track uris to an existing playlist.
|
@@ -75,7 +75,7 @@ module Spotify
|
|
75
75
|
if position
|
76
76
|
params.merge!(:position => position)
|
77
77
|
end
|
78
|
-
run(:post, "/v1/users/#{user_id}/playlists/#{playlist_id}/tracks", [201], params)
|
78
|
+
run(:post, "/v1/users/#{user_id}/playlists/#{playlist_id}/tracks", [201], params, false)
|
79
79
|
end
|
80
80
|
|
81
81
|
def album(album_id)
|