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