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