lib/ducksboard/widget.rb in ducksboard-0.1.4 vs lib/ducksboard/widget.rb in ducksboard-0.1.5

- old
+ new

@@ -26,10 +26,10 @@ @data[:timestamp] = time end def update(data=nil) @data = data if data - self.class.post('/' + id.to_s, + self.class.post("#{PUSH_URI}/#{@id.to_s}", :basic_auth => auth, :body => @data.to_json) end def save