Class: Threadfix::Client::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/threadfix/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



18
19
20
21
# File 'lib/threadfix/client.rb', line 18

def initialize
  @host = ENV['THREADFIX_HOST']
  @key = ENV['THREADFIX_TOKEN']
end

Instance Attribute Details

#hostObject

Returns the value of attribute host.



16
17
18
# File 'lib/threadfix/client.rb', line 16

def host
  @host
end

#keyObject

Returns the value of attribute key.



16
17
18
# File 'lib/threadfix/client.rb', line 16

def key
  @key
end