myexperiment-hackers
[Top][All Lists]
Advanced

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

[myexperiment-hackers] [2087] trunk/lib/rest.rb: added creditations/ att


From: noreply
Subject: [myexperiment-hackers] [2087] trunk/lib/rest.rb: added creditations/ attributions to generators that now throw an exception on unknown input
Date: Wed, 4 Feb 2009 11:26:55 -0500 (EST)

Revision
2087
Author
dgc
Date
2009-02-04 11:26:55 -0500 (Wed, 04 Feb 2009)

Log Message

added creditations/attributions to generators that now throw an exception on unknown input

Modified Paths

Diff

Modified: trunk/lib/rest.rb (2086 => 2087)


--- trunk/lib/rest.rb	2009-02-04 14:49:59 UTC (rev 2086)
+++ trunk/lib/rest.rb	2009-02-04 16:26:55 UTC (rev 2087)
@@ -339,6 +339,9 @@
     when 'Job';             return experiment_job_url(ob.experiment, ob)
     when 'PackRemoteEntry'; return ob.uri
 
+    when 'Creditation';     return nil
+    when 'Attribution';     return nil
+
     when 'Workflow::Version'; return "#{rest_resource_uri(ob.workflow)}?version=#{ob.version}"
   end
 
@@ -371,6 +374,9 @@
     when 'Download';        return "#{base}/download.xml?id=#{ob.id}"
     when 'PackRemoteEntry'; return "#{base}/external.xml?id=#{ob.id}"
 
+    when 'Creditation';     return nil
+    when 'Attribution';     return nil
+
     when 'Workflow::Version'; return "#{base}/workflow.xml?id=#{ob.workflow.id}&version=#{ob.version}"
   end
 

reply via email to

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