Sha256: 9fcb263a8e37450616ed1f52b8cf38099aa46146119c7903e0395214a490485a

Contents?: true

Size: 468 Bytes

Versions: 58

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

58 entries across 58 versions & 2 rubygems

Version Path
rpush-9.1.0 lib/rpush/client/redis/apns/feedback.rb
rpush-9.0.0 lib/rpush/client/redis/apns/feedback.rb
rpush-8.0.0 lib/rpush/client/redis/apns/feedback.rb
rpush-7.0.1 lib/rpush/client/redis/apns/feedback.rb
rpush-7.0.0 lib/rpush/client/redis/apns/feedback.rb
rpush-6.0.1 lib/rpush/client/redis/apns/feedback.rb
rpush-6.0.0 lib/rpush/client/redis/apns/feedback.rb
rpush-5.4.0 lib/rpush/client/redis/apns/feedback.rb
rpush-5.3.0 lib/rpush/client/redis/apns/feedback.rb
rpush-5.2.0 lib/rpush/client/redis/apns/feedback.rb
rpush-5.1.0 lib/rpush/client/redis/apns/feedback.rb
rpush-5.0.0 lib/rpush/client/redis/apns/feedback.rb
rpush-4.2.0 lib/rpush/client/redis/apns/feedback.rb
rpush-4.1.1 lib/rpush/client/redis/apns/feedback.rb
rpush-4.1.0 lib/rpush/client/redis/apns/feedback.rb
rpush-4.0.1 lib/rpush/client/redis/apns/feedback.rb
rpush-4.0.0 lib/rpush/client/redis/apns/feedback.rb
rpush-3.3.1 lib/rpush/client/redis/apns/feedback.rb
rpush-3.3.0 lib/rpush/client/redis/apns/feedback.rb
rpush_extended-3.2.6 lib/rpush/client/redis/apns/feedback.rb