module Rpush
  module Client
    module Redis
      module Apns
        class Notification < Rpush::Client::Redis::Notification
          include Rpush::Client::ActiveModel::Apns::Notification

          def alert=(alert)
            alert = alert.to_s unless alert.kind_of?(Hash)
            super
          end
        end
      end
    end
  end
end

module Rpush
  module Client
    module Redis
      module Apns
        class Notification < Rpush::Client::Redis::Notification
          include Rpush::Client::ActiveModel::Apns::Notification
        end
      end
    end
  end
end

Revert "Default alert in Redis to a string"
Revert "Default alert in Redis to a string"

This reverts commit e1dae71224796e27b3e24664f75a410c15f82ebb.
