Sha256: e33edae79e6aeafcb214988a33b50648e3f2444373266d81816d6285d0ce08bd

Contents?: true

Size: 1.1 KB

Versions: 13

Compression:

Stored size: 1.1 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,
      :cycle_label, :credit_label, :layout, :auditee_user_scope, :audit_reviewer_user_scope,
      :mailer, :parent_mailer, :deliver_method, :mailer_layout, :mailer_sender, :mailer_admin, :mailer_subject, :use_effective_email_templates
    ]
  end

  include EffectiveGem

  def self.mailer_class
    mailer&.constantize || Effective::CpdMailer
  end

end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
effective_cpd-0.5.4 lib/effective_cpd.rb
effective_cpd-0.5.3 lib/effective_cpd.rb
effective_cpd-0.5.2 lib/effective_cpd.rb
effective_cpd-0.5.1 lib/effective_cpd.rb
effective_cpd-0.5.0 lib/effective_cpd.rb
effective_cpd-0.4.3 lib/effective_cpd.rb
effective_cpd-0.4.2 lib/effective_cpd.rb
effective_cpd-0.4.1 lib/effective_cpd.rb
effective_cpd-0.4.0 lib/effective_cpd.rb
effective_cpd-0.3.3 lib/effective_cpd.rb
effective_cpd-0.3.2 lib/effective_cpd.rb
effective_cpd-0.3.1 lib/effective_cpd.rb
effective_cpd-0.3.0 lib/effective_cpd.rb