module Specstat::Reporter
Constants
- ENDPOINT
- VERSION
Public Class Methods
api_token()
click to toggle source
# File lib/specstat/reporter.rb, line 16 def api_token @api_token || ENV["SPECSTAT_API_TOKEN"] end
api_token=(value)
click to toggle source
# File lib/specstat/reporter.rb, line 12 def api_token=(value) @api_token = value end
current_run()
click to toggle source
# File lib/specstat/reporter.rb, line 24 def current_run @current_run ||= Specstat::TestRun.new end
endpoint()
click to toggle source
# File lib/specstat/reporter.rb, line 20 def endpoint ENV["SPECSTAT_ENDPOINT"] || ENDPOINT end
logger()
click to toggle source
# File lib/specstat/reporter.rb, line 28 def logger @logger ||= Logger.new(STDOUT) end
logger=(value)
click to toggle source
# File lib/specstat/reporter.rb, line 32 def logger=(value) @logger = value end