Sha256: 9fcb263a8e37450616ed1f52b8cf38099aa46146119c7903e0395214a490485a

Contents?: true

Size: 468 Bytes

Versions: 59

Compression:

Stored size: 468 Bytes

Contents

module Rpush
  module Client
    module Redis
      module Apns
        class Feedback
          include Modis::Model

          attribute :app_id, :integer
          attribute :device_token, :string
          attribute :failed_at, :timestamp

          validates :device_token, presence: true
          validates :failed_at, presence: true

          validates_with Rpush::Client::ActiveModel::Apns::DeviceTokenFormatValidator
        end
      end
    end
  end
end

Version data entries

59 entries across 59 versions & 2 rubygems

Version Path
rpush_extended-3.2.6 lib/rpush/client/redis/apns/feedback.rb
rpush_extended-3.2.5 lib/rpush/client/redis/apns/feedback.rb
rpush-3.2.4 lib/rpush/client/redis/apns/feedback.rb
rpush-3.2.3 lib/rpush/client/redis/apns/feedback.rb
rpush-3.2.2 lib/rpush/client/redis/apns/feedback.rb
rpush-3.2.1 lib/rpush/client/redis/apns/feedback.rb
rpush-3.2.0 lib/rpush/client/redis/apns/feedback.rb
rpush-3.1.1 lib/rpush/client/redis/apns/feedback.rb
rpush-3.1.0 lib/rpush/client/redis/apns/feedback.rb
rpush-3.0.2 lib/rpush/client/redis/apns/feedback.rb
rpush-3.0.1 lib/rpush/client/redis/apns/feedback.rb
rpush-3.0.0 lib/rpush/client/redis/apns/feedback.rb
rpush-3.0.0.rc1 lib/rpush/client/redis/apns/feedback.rb
rpush-2.7.0-java lib/rpush/client/redis/apns/feedback.rb
rpush-2.7.0 lib/rpush/client/redis/apns/feedback.rb
rpush-2.6.0-java lib/rpush/client/redis/apns/feedback.rb
rpush-2.6.0 lib/rpush/client/redis/apns/feedback.rb
rpush-2.5.0 lib/rpush/client/redis/apns/feedback.rb
rpush-2.4.0-java lib/rpush/client/redis/apns/feedback.rb
rpush-2.4.0 lib/rpush/client/redis/apns/feedback.rb