Class: Datadome::Configuration
- Inherits:
-
Object
- Object
- Datadome::Configuration
- Defined in:
- lib/datadome/configuration.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#api_server ⇒ Object
Returns the value of attribute api_server.
-
#exclude_matchers ⇒ Object
Returns the value of attribute exclude_matchers.
-
#include_matchers ⇒ Object
Returns the value of attribute include_matchers.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
8 9 10 11 12 |
# File 'lib/datadome/configuration.rb', line 8 def initialize @api_server = "api.datadome.co" @exclude_matchers = [] @include_matchers = [] end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
14 15 16 |
# File 'lib/datadome/configuration.rb', line 14 def api_key @api_key end |
#api_server ⇒ Object
Returns the value of attribute api_server.
14 15 16 |
# File 'lib/datadome/configuration.rb', line 14 def api_server @api_server end |
#exclude_matchers ⇒ Object
Returns the value of attribute exclude_matchers.
14 15 16 |
# File 'lib/datadome/configuration.rb', line 14 def exclude_matchers @exclude_matchers end |
#include_matchers ⇒ Object
Returns the value of attribute include_matchers.
14 15 16 |
# File 'lib/datadome/configuration.rb', line 14 def include_matchers @include_matchers end |