# File lib/flickr/urls.rb, line 19 def getUserProfile(user) user = user.nsid if user.respond_to?(:nsid) args = {} args['user_id'] = user if user res = @flickr.call_method('flickr.urls.getUserProfile',args) return res.elements['/user'].attributes['url'] end