Class: Renalware::PD::Configuration

Inherits:
Object
  • Object
show all
Includes:
ActiveSupport::Configurable
Defined in:
app/models/renalware/pd.rb

Overview

PD-specific configuration

You can override default settings here in an initializer in the host app like so:

 Renalware::PD.configure do |config|
   config.delivery_intervals = [2.days, 1.week, 3.weeks, 1.year]
 end

You can access PD configuration like so
  Renalware::PD.config.delivery_intervals