search for: flickrrequest

Displaying 1 result from an estimated 1 matches for "flickrrequest".

2007 Oct 18
2
Class works on Ruby, does not work on Rails controller.
...es/soap"]) res_message = @client.request(payload) return "Res Message : " << res_message.to_s rescue => exception return "Exception : #{exception}" end private def compile_query(text) payload = <<XML <x:FlickrRequest xmlns:x="urn:flickr"> <method>flickr.photos.search</method> <api_key>#{@key}</api_key> <text>#{text}</text> </x:FlickrRequest> XML return payload end end --~--~---------~--~----~------------~-------~...