Class: ActionRecipient::Configuration::Whitelist
- Inherits:
-
Object
- Object
- ActionRecipient::Configuration::Whitelist
- Defined in:
- lib/action_recipient/configuration.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#addresses ⇒ Object
38 39 40 |
# File 'lib/action_recipient/configuration.rb', line 38 def addresses @addresses ||= [] end |
#domains ⇒ Object
34 35 36 |
# File 'lib/action_recipient/configuration.rb', line 34 def domains @domains ||= [] end |
Instance Method Details
#[](key) ⇒ Object
30 31 32 |
# File 'lib/action_recipient/configuration.rb', line 30 def [](key) public_send(key) if %i[domains addresses].include? key end |