class ATMFormatter::Configuration

Attributes

auth_type[RW]
base_url[RW]
create_test_formatter_options[RW]
environment[RW]
password[RW]
project_id[RW]
result_formatter_options[RW]
test_run_id[RW]
username[RW]

Public Class Methods

new() click to toggle source
# File lib/configuration.rb, line 15
def initialize
  @base_url    = nil
  @test_run_id = nil
  @project_id  = nil
  @environment = nil
  @username    = nil
  @password    = nil
  @auth_type   = nil
  @result_formatter_options      = nil
  @create_test_formatter_options = nil
end

Public Instance Methods

to_hash() click to toggle source
# File lib/configuration.rb, line 27
def to_hash
  hash = {}
  instance_variables.each { |var| hash[var.to_s.delete('@').to_sym] = instance_variable_get(var) }
  hash
end