search for: xyzapi

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

2006 May 08
0
Including common code among multiple web services issue?
...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[''London''].unadjust(created_at)]) end...