lib/caren/product.rb in caren-api-0.4.4 vs lib/caren/product.rb in caren-api-0.4.5

- old
+ new

@@ -20,9 +20,13 @@ def self.search key, value, session from_xml session.get( self.search_url(key,value) ) end + def self.find id, session + from_xml session.get(self.resource_url(id)) + end + def self.all session from_xml session.get(self.resource_url) end def create session \ No newline at end of file