Sha256: c26ece2384aaeb5168150c0d14769ea040133457b5b0c1b5479c9ba8892956f6
Contents?: true
Size: 1.74 KB
Versions: 67
Compression:
Stored size: 1.74 KB
Contents
# frozen_string_literal: true module Quby class Settings def self.require_score_schemas @require_score_schemas end def self.require_score_schemas=(value) @require_score_schemas = value end def self.api_allowed_ip_ranges @api_allowed_ip_ranges || ["10.0.0.0/8"] end def self.api_allowed_ip_ranges=(value) @api_allowed_ip_ranges = value end def self.shared_secret @shared_secret end def self.shared_secret=(value) @shared_secret = value end def self.previous_shared_secret @previous_shared_secret end def self.previous_shared_secret=(value) @previous_shared_secret = value end def self.enforce_questionnaire_key_format if @enforce_questionnaire_key_format.nil? true else @enforce_questionnaire_key_format end end def self.enforce_questionnaire_key_format=(value) @enforce_questionnaire_key_format = value end def self.enable_leave_page_alert if @enable_leave_page_alert.nil? true else @enable_leave_page_alert end end def self.enable_leave_page_alert=(value) @enable_leave_page_alert = value end # Authorization protocols def self.authorize_with_hmac if @authorize_with_hmac.nil? true else @authorize_with_hmac end end def self.authorize_with_hmac=(value) @authorize_with_hmac = value end def self.authorize_with_id_from_session if @authorize_with_id_from_session.nil? true else @authorize_with_id_from_session end end def self.authorize_with_id_from_session=(value) @authorize_with_id_from_session = value end end end
Version data entries
67 entries across 67 versions & 2 rubygems