Reported:
I'm starting to try to put data into pachube, and found your eeml gem. But, I think it may have a problem. The method for differentiating feeds from each other is to use the id attribute of the data element. Since my sensors have names that are globally unique 14 digit hex numbers, I got the idea of using an id derived from the name. With your gem, there is no method for setting the id of the data element. Instead, the data element's ids are dependent on the order of the data elements.
I've added an :id option to data#new, so you can set the ID explicity. If this is set, it will be used in the XML.