Displaying 1 result from an estimated 1 matches for "flickrclient".
2007 Oct 18
2
Class works on Ruby, does not work on Rails controller.
.... When I
wrote a "command line" sript using that class the I get a proper
response (through res_message). But when I use the class in a
controller I get nil as the response
any help will be highly appreciated.
thanks.
J
--------------------------------------
class is like this.
class FlickrClient
def initialize(key)
@key = key
end
def query(text)
payload = compile_query(text)
@client = WSMyClient.new(Hash[:to => "http://api.flickr.com/
services/soap"])
res_message = @client.request(payload)
return "Res Message : " <...