Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JSON format option for playlist_videos #8

Merged
merged 2 commits into from
Jun 20, 2014
Merged

Conversation

effektz
Copy link
Contributor

@effektz effektz commented Jun 17, 2014

No description provided.

@@ -19,10 +19,14 @@ def search_playlists(query, options={})
search_page("https://gdata.youtube.com/feeds/api/playlists/snippets", query, options.merge(:v => 2))
end

def playlist_videos(playlist_id)
def playlist_videos(playlist_id, format='xml')
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please use an options hash and add a test :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done :)

grosser added a commit that referenced this pull request Jun 20, 2014
Add JSON format option for playlist_videos
@grosser grosser merged commit bc61748 into grosser:master Jun 20, 2014
@grosser
Copy link
Owner

grosser commented Jun 20, 2014

0.1.8 is all yours :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants