class Tatami::Flot
Attributes
couch[R]
Public Class Methods
new(*args)
click to toggle source
# File lib/tatami/flot.rb, line 5 def initialize *args @couch = Couch.new *args end
Public Instance Methods
blank!()
click to toggle source
# File lib/tatami/flot.rb, line 14 def blank! couch.blank! couch.design_load end
record_node_prop(typ, hash, time = Time.now)
click to toggle source
# File lib/tatami/flot.rb, line 9 def record_node_prop typ, hash, time = Time.now time_i = (time.to_i + 7200)*1000 couch.doc_new nil, hash.merge(time: time_i,typ: typ) end