Displaying 1 result from an estimated 1 matches for "kateapiservice".
2006 Mar 02
1
web serveces problem
...are my files:
1. app/apis/kate_api.rb:
class KateAPI < ActionWebService::API::Base
inflect_names false
api_method :check_version, :expects => [:string], :returns => [:string]
end
2. app/models/kate_api_service.rb : (tried to put it also in apis
directory - where should it be??)
class KateAPIService < ActionWebService::Base
web_service_api KateAPI
def check_version (version)
if version != ''0.25''
''you are trying to talk with Tyra version 0.25 with a different
version !''
else
''server and client versions match - 0.25''
end
e...