Class: Updawg::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



10
11
12
13
14
15
# File 'lib/updawg.rb', line 10

def initialize
  self.error_text = 'ERROR'
  self.warning_text = 'WARNING'
  self.success_text = 'PASS'
  self.timeout = 30
end

Instance Attribute Details

#error_textObject

Returns the value of attribute error_text.



8
9
10
# File 'lib/updawg.rb', line 8

def error_text
  @error_text
end

#success_textObject

Returns the value of attribute success_text.



8
9
10
# File 'lib/updawg.rb', line 8

def success_text
  @success_text
end

#timeoutObject

Returns the value of attribute timeout.



8
9
10
# File 'lib/updawg.rb', line 8

def timeout
  @timeout
end

#warning_textObject

Returns the value of attribute warning_text.



8
9
10
# File 'lib/updawg.rb', line 8

def warning_text
  @warning_text
end