Permalink
Browse files

Allow zero-argument photos.get_recent

  • Loading branch information...
Maciej Bilas
Maciej Bilas committed May 8, 2009
1 parent eb79e25 commit 5e8072e01b470a68a8ed8baa648947bd1d2e496b
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/flickr/photos.rb
View
@@ -148,7 +148,7 @@ def search(options)
# * media (Optional)
# The type of media to search for. 'photo', 'video', or 'both' are allowed arguments, with 'both' being the default.
#
- def get_recent(options)
+ def get_recent(options = {})
options.merge!({:extras => "license,date_upload,date_taken,owner_name,icon_server,original_format,last_update,geo,tags,machine_tags,o_dims,views,media"})
rsp = @flickr.send_request('flickr.photos.getRecent', options)

0 comments on commit 5e8072e

Please sign in to comment.