Class: Stratagem::Configuration::Core
- Defined in:
- lib/stratagem/configuration/core.rb
Instance Attribute Summary collapse
-
#credentials ⇒ Object
readonly
Returns the value of attribute credentials.
-
#use_automatic_mocking ⇒ Object
Returns the value of attribute use_automatic_mocking.
-
#use_transactional_crawling ⇒ Object
Returns the value of attribute use_transactional_crawling.
Instance Method Summary collapse
- #authenticate_with(&block) ⇒ Object
-
#initialize ⇒ Core
constructor
A new instance of Core.
Constructor Details
#initialize ⇒ Core
Returns a new instance of Core.
7 8 9 10 11 |
# File 'lib/stratagem/configuration/core.rb', line 7 def initialize @use_automatic_mocking = false @use_transactional_crawling = true @credentials = [] end |
Instance Attribute Details
#credentials ⇒ Object (readonly)
Returns the value of attribute credentials.
5 6 7 |
# File 'lib/stratagem/configuration/core.rb', line 5 def credentials @credentials end |
#use_automatic_mocking ⇒ Object
Returns the value of attribute use_automatic_mocking.
4 5 6 |
# File 'lib/stratagem/configuration/core.rb', line 4 def use_automatic_mocking @use_automatic_mocking end |
#use_transactional_crawling ⇒ Object
Returns the value of attribute use_transactional_crawling.
4 5 6 |
# File 'lib/stratagem/configuration/core.rb', line 4 def use_transactional_crawling @use_transactional_crawling end |