Displaying 1 result from an estimated 1 matches for "myws_api".
2006 May 31
2
Rails Bug when loading required files for API?
...be a bug in
Rails. But I''m failry new to RoR, so maybe I''m doing something wrong.
I''ll explain:
I have a WS API defined, communicating with a remote system that
expects a stucture:
When defined like this (all definitions in one file) it all works fine:
/app/apis/myws_api.rb
----------
class SoapResponse < ActionWebService::Struct
member :id, :int
member :title, :string
end
class MyApi < ActionWebService::API::Base
api_method :find_products_by_category, :expects =>
[:string], :returns => [[SoapResponse]]
end
----------
Now when I try to is...