Sha256: e8977f809d89caf88380b6b6d3074390d4092777b5d2a5271a0657a6c79ea7ec
Contents?: true
Size: 488 Bytes
Versions: 7
Compression:
Stored size: 488 Bytes
Contents
module Replyr class Config attr_accessor :prefix, :host, :secret, :user_class def prefix @prefix || "reply" end def user_class @user_class || User end def host @host || (raise RuntimeError, "Replyr.config.host is nil. Please set a host in an initializer.") end def secret @secret || (raise RuntimeError, "Replyr.config.secret is nil. Please set a secure secret token in an initializer.") end end end
Version data entries
7 entries across 7 versions & 1 rubygems