Sha256: 95e5a52956f170529138bb0af0e60abb9fb0a00ac8e5c167c79c86aa02516113

Contents?: true

Size: 231 Bytes

Versions: 1

Compression:

Stored size: 231 Bytes

Contents

module QPush
  module Web
    module Apis
      class Heart
        def call
          heart = Web.redis { |c| c.get(Web.keys.heart) }
          { status: !heart.nil?, namespace: 'default' }
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
qpush-0.1.7 lib/qpush/web/apis/heart.rb