class ATM::Configuration

Attributes

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

Public Class Methods

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

Public Instance Methods

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