Class: Nondisposable::Configuration
- Inherits:
-
Object
- Object
- Nondisposable::Configuration
- Defined in:
- lib/nondisposable.rb
Instance Attribute Summary collapse
-
#additional_domains ⇒ Object
Returns the value of attribute additional_domains.
-
#error_message ⇒ Object
Returns the value of attribute error_message.
-
#excluded_domains ⇒ Object
Returns the value of attribute excluded_domains.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
28 29 30 31 32 |
# File 'lib/nondisposable.rb', line 28 def initialize @error_message = "provider is not allowed" @additional_domains = [] @excluded_domains = [] end |
Instance Attribute Details
#additional_domains ⇒ Object
Returns the value of attribute additional_domains.
26 27 28 |
# File 'lib/nondisposable.rb', line 26 def additional_domains @additional_domains end |
#error_message ⇒ Object
Returns the value of attribute error_message.
26 27 28 |
# File 'lib/nondisposable.rb', line 26 def @error_message end |
#excluded_domains ⇒ Object
Returns the value of attribute excluded_domains.
26 27 28 |
# File 'lib/nondisposable.rb', line 26 def excluded_domains @excluded_domains end |