Class: Nondisposable::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/nondisposable.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_domainsObject

Returns the value of attribute additional_domains.



26
27
28
# File 'lib/nondisposable.rb', line 26

def additional_domains
  @additional_domains
end

#error_messageObject

Returns the value of attribute error_message.



26
27
28
# File 'lib/nondisposable.rb', line 26

def error_message
  @error_message
end

#excluded_domainsObject

Returns the value of attribute excluded_domains.



26
27
28
# File 'lib/nondisposable.rb', line 26

def excluded_domains
  @excluded_domains
end