Sha256: e0f824662914184e501762d5df4a51a342d5fe19b43227824674d0b982d9f9ad
Contents?: true
Size: 618 Bytes
Versions: 26
Compression:
Stored size: 618 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 index :name validates :name, presence: true validates_numericality_of :connections, greater_than: 0, only_integer: true end end end end
Version data entries
26 entries across 26 versions & 1 rubygems