Class: Testrail::Config
- Inherits:
-
Object
- Object
- Testrail::Config
- Includes:
- ActiveSupport::Configurable
- Defined in:
- lib/testrail/config.rb
Instance Method Summary collapse
- #default_config ⇒ Object
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
19 20 21 |
# File 'lib/testrail/config.rb', line 19 def initialize default_config end |
Instance Method Details
#default_config ⇒ Object
23 24 25 26 27 28 29 30 31 |
# File 'lib/testrail/config.rb', line 23 def default_config self.headers = { "Accept" => "application/json" } self.server = "https://example.testrail.com" self.api_path = "/index.php?/miniapi/" self.api_key = nil self.logger = Logger.new STDOUT end |