Displaying 1 result from an estimated 1 matches for "wsmyclient".
Did you mean:
smbclient
2007 Oct 18
2
Class works on Ruby, does not work on Rails controller.
...s 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 : " << res_message.to_s
rescue => exception
return "Exception : #{exception}"
end
private
def compile...