Sha256: 0903a7c5f28b9741914f157b792303f4d928dfee1e1a9bee29e90c94f0fe3112
Contents?: true
Size: 804 Bytes
Versions: 12
Compression:
Stored size: 804 Bytes
Contents
module Rpush module Client module Redis class App include Modis::Model self.namespace = 'apps' attribute :name, :string attribute :environment, :string attribute :certificate, :string attribute :password, :string attribute :connections, :integer, default: 1 attribute :auth_key, :string attribute :client_id, :string attribute :client_secret, :string attribute :api_key, :string attribute :apn_key, :string attribute :apn_key_id, :string attribute :team_id, :string attribute :bundle_id, :string index :name validates :name, presence: true validates_numericality_of :connections, greater_than: 0, only_integer: true end end end end
Version data entries
12 entries across 12 versions & 2 rubygems