Class: Txray::Rule

Inherits:
Struct
  • Object
show all
Defined in:
lib/txray/rule.rb

Instance Attribute Summary collapse

Instance Attribute Details

#category ⇒ Object

Returns the value of attribute category

Returns:

  • (Object) —

    the current value of category



4
5
6
# File 'lib/txray/rule.rb', line 4

def category
  @category
end

#id ⇒ Object

Returns the value of attribute id

Returns:

  • (Object) —

    the current value of id



4
5
6
# File 'lib/txray/rule.rb', line 4

def id
  @id
end

#message ⇒ Object

Returns the value of attribute message

Returns:

  • (Object) —

    the current value of message



4
5
6
# File 'lib/txray/rule.rb', line 4

def message
  @message
end

#remedy ⇒ Object

Returns the value of attribute remedy

Returns:

  • (Object) —

    the current value of remedy



4
5
6
# File 'lib/txray/rule.rb', line 4

def remedy
  @remedy
end

#severity ⇒ Object

Returns the value of attribute severity

Returns:

  • (Object) —

    the current value of severity



4
5
6
# File 'lib/txray/rule.rb', line 4

def severity
  @severity
end