lib/qpush/web/apis/heart.rb in qpush-0.1.7 vs lib/qpush/web/apis/heart.rb in qpush-0.1.8
- old
+ new
@@ -1,10 +1,10 @@
module QPush
module Web
module Apis
class Heart
def call
- heart = Web.redis { |c| c.get(Web.keys.heart) }
+ heart = Web.redis { |c| c.get(Web.keys[:heart]) }
{ status: !heart.nil?, namespace: 'default' }
end
end
end
end