search for: find_products_by_category

Displaying 1 result from an estimated 1 matches for "find_products_by_category".

2006 May 31
2
Rails Bug when loading required files for API?
...tem 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 isolate my API code and my structures into a module (listing below) things go wrong, but in a weird way. When I restart my Webrick server the initial "/myws/invoke" hit gives no complaints,...