Skip to content

Commit

Permalink
added another usage example to the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
kellysutton committed Jun 3, 2009
1 parent 3e24484 commit cef4036
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.rdoc
Expand Up @@ -27,9 +27,19 @@ Let's say you want to upload a video:

video = client.upload_video(options) #=> BlipTV::Video

And you're done! The upload_video method call returns a BlipTV::Video object
The upload_video method call returns a BlipTV::Video object
that you can play around with.

Or what if you wanted a list of all videos by a user? Also easy:

require 'bliptv'

client = BlipTV::Base.new

video_list = client.find_all_videos_by_user("barack_obama")

find_all_videos_by_user will return a list of BlipTV::Video objects.

More usage coming soon.

== Authors
Expand Down

0 comments on commit cef4036

Please sign in to comment.