# File lib/flickr/photosets.rb, line 14
        def create(title,primary_photo, description = nil)
                primary_photo = primary_photo.id if
                        primary_photo.class == Flickr::Photo
                args = { 'title' => title, 'primary_photo_id' =>
                        primary_photo}
                args['description'] = description if description
                res = @flickr.call_method('flickr.photosets.create',args)
                id = res.elements['/photoset'].attributes['id']
                url = res.elements['/photoset'].attributes['url']
                set = Flickr::PhotoSet.new(id,@flickr)
                set.title = title
                set.url = url
                @flickr.photoset_cache_store(set)
                return set
        end