Sha256: 41e4761cfb90374756d80609a5e8287affae655c0f391de2af43cb0ce37c6ab0
Contents?: true
Size: 864 Bytes
Versions: 11
Compression:
Stored size: 864 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 attribute :feedback_enabled, :boolean, default: true index :name validates :name, presence: true validates_numericality_of :connections, greater_than: 0, only_integer: true end end end end
Version data entries
11 entries across 11 versions & 1 rubygems