Module: Testrail

Defined in:
lib/testrail.rb,
lib/testrail/client.rb,
lib/testrail/config.rb,
lib/testrail/request.rb,
lib/testrail/version.rb,
lib/testrail/response.rb,
lib/testrail/command_helper.rb

Defined Under Namespace

Modules: CommandHelper Classes: Client, Config, Request, Response

Constant Summary collapse

VERSION =
'0.0.3'

Class Method Summary collapse

Class Method Details

.configObject



11
12
13
# File 'lib/testrail/config.rb', line 11

def self.config
  @config ||= Config.new
end

.configure {|@config| ... } ⇒ Object

Yields:



6
7
8
9
# File 'lib/testrail/config.rb', line 6

def self.configure(&block)
  @config = Config.new
  yield @config if block_given?
end

.loggerObject



7
8
9
# File 'lib/testrail.rb', line 7

def self.logger
  Testrail.config.logger
end