Displaying 1 result from an estimated 1 matches for "kate_api_service".
2006 Mar 02
1
web serveces problem
...eason it''s not working for me. i''m working with ruby 1.84, rails 1.0.
here 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
versio...