Sha256: 099ddb0a523d84b83f9fefc70429da6b94fa2f37ea27a4190032456028e9dc23
Contents?: true
Size: 1.75 KB
Versions: 3
Compression:
Stored size: 1.75 KB
Contents
require 'effective_resources' require 'effective_datatables' require 'effective_cpd/engine' require 'effective_cpd/version' module EffectiveCpd def self.config_keys [ :cpd_categories_table_name, :cpd_activities_table_name, :cpd_cycles_table_name, :cpd_rules_table_name, :cpd_special_rules_table_name, :cpd_special_rule_mates_table_name, :cpd_statements_table_name, :cpd_statement_activities_table_name, :cpd_audit_levels_table_name, :cpd_audit_level_sections_table_name, :cpd_audit_level_questions_table_name, :cpd_audit_level_question_options_table_name, :cpd_audits_table_name, :cpd_audit_responses_table_name, :cpd_audit_response_options_table_name, :cpd_audit_reviews_table_name, :cpd_audit_review_items_table_name, :program_label, :cycle_label, :credit_label, :layout, :auditee_user_scope, :audit_reviewer_user_scope, :use_effective_messaging, :mailer, :parent_mailer, :deliver_method, :mailer_layout, :mailer_sender, :mailer_admin, :mailer_subject, :use_effective_email_templates, :cpd_statement_class_name, :cpd_audit_class_name, :cpd_audit_level_class_name, :cpd_audit_review_class_name ] end include EffectiveGem def self.mailer_class mailer&.constantize || Effective::CpdMailer end def self.CpdStatement cpd_statement_class_name&.constantize || Effective::CpdStatement end def self.CpdAudit cpd_audit_class_name&.constantize || Effective::CpdAudit end def self.CpdAuditLevel cpd_audit_level_class_name&.constantize || Effective::CpdAuditLevel end def self.CpdAuditReview cpd_audit_review_class_name&.constantize || Effective::CpdAuditReview end def self.use_effective_messaging? defined?(EffectiveMessaging) && !!use_effective_messaging end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
effective_cpd-1.1.3 | lib/effective_cpd.rb |
effective_cpd-1.1.2 | lib/effective_cpd.rb |
effective_cpd-1.1.1 | lib/effective_cpd.rb |