myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [2173] trunk: added pack download url to packs in


From: noreply
Subject: [myexperiment-hackers] [2173] trunk: added pack download url to packs in the API
Date: Thu, 16 Apr 2009 10:00:34 -0400 (EDT)

Revision
2173
Author
dgc
Date
2009-04-16 10:00:33 -0400 (Thu, 16 Apr 2009)

Log Message

added pack download url to packs in the API

Modified Paths

Diff

Modified: trunk/config/tables.xml


(Binary files differ)

Modified: trunk/lib/rest.rb (2172 => 2173)


--- trunk/lib/rest.rb	2009-04-15 15:52:08 UTC (rev 2172)
+++ trunk/lib/rest.rb	2009-04-16 14:00:33 UTC (rev 2173)
@@ -189,6 +189,14 @@
 
         text
 
+      when 'url'
+
+        element = XML::Node.new(model_data['REST Attribute'][i])
+
+        element << eval("#{model_data['Accessor'][i]}(ob)")
+
+        element
+
       else 
 
         if model_data['Encoding'][i] == 'file-column'

reply via email to

[Prev in Thread] Current Thread [Next in Thread]