lib/databox/client.rb in databox-0.2.1 vs lib/databox/client.rb in databox-0.2.2
- old
+ new
@@ -64,8 +64,8 @@
self.last_push_content = raw_push('/', rows.map {|r| process_kpi(r) })
self.last_push_content['status'] == 'ok'
end
def last_push(n=1)
- raw_push "/lastpushes/#{n}"
+ handle self.class.get("/lastpushes/#{n}")
end
end