search for: xyzservice

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

Did you mean: myservice
2006 May 08
0
Including common code among multiple web services issue?
Hi all - I''m implementing some web services and every one has at the very least a "find_newer_than" method. In my models, I''ve split things up like this and it works great. ---------------------------------------------------------------------------------- class XyzService < WebService web_service_api XyzApi .... service specific methods go here... end class WebService < ActionWebService::Base def find_newer_than(created_at) real_class.find(:all, :conditions => [''created_at >= ?'', TimeZone[''Londo...