Displaying 1 result from an estimated 1 matches for "flerror".
Did you mean:
ferror
2010 Nov 02
0
webservice - get client ip address
...ng, :expects => [{:sitename=>:string},
{:url=>:string}], :returns => [XmlrpcStructs::PingInfo]
end
-------
class WeblogUpdates < ActionWebService::Base
web_service_api WeblogUpdatesApi
def ping(sitename, url)
# a logic here
....
return XmlrpcStructs::PingInfo.new(:flerror => flerror, :message
=> message)
end
end
------
Everything works here
Now in my ping method I would like to use a request object
How can I pass a request from the controller to ping method
in WeblogUpdates class
I''m new to ruby on rails
If I posted this to the wrong group sorry an...