Class: EasyCaddy::Commands::Audit::Fix

Inherits:
Data
  • Object
show all
Defined in:
lib/easy_caddy/commands/audit.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(label:, description:, command:, verify:, escalation:, next_fix:, choices: nil) ⇒ Fix

Returns a new instance of Fix.



28
29
30
# File 'lib/easy_caddy/commands/audit.rb', line 28

def initialize(label:, description:, command:, verify:, escalation:, next_fix:, choices: nil)
  super
end

Instance Attribute Details

#choicesObject (readonly)

Returns the value of attribute choices

Returns:

  • (Object)

    the current value of choices



27
28
29
# File 'lib/easy_caddy/commands/audit.rb', line 27

def choices
  @choices
end

#commandObject (readonly)

Returns the value of attribute command

Returns:

  • (Object)

    the current value of command



27
28
29
# File 'lib/easy_caddy/commands/audit.rb', line 27

def command
  @command
end

#descriptionObject (readonly)

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



27
28
29
# File 'lib/easy_caddy/commands/audit.rb', line 27

def description
  @description
end

#escalationObject (readonly)

Returns the value of attribute escalation

Returns:

  • (Object)

    the current value of escalation



27
28
29
# File 'lib/easy_caddy/commands/audit.rb', line 27

def escalation
  @escalation
end

#labelObject (readonly)

Returns the value of attribute label

Returns:

  • (Object)

    the current value of label



27
28
29
# File 'lib/easy_caddy/commands/audit.rb', line 27

def label
  @label
end

#next_fixObject (readonly)

Returns the value of attribute next_fix

Returns:

  • (Object)

    the current value of next_fix



27
28
29
# File 'lib/easy_caddy/commands/audit.rb', line 27

def next_fix
  @next_fix
end

#verifyObject (readonly)

Returns the value of attribute verify

Returns:

  • (Object)

    the current value of verify



27
28
29
# File 'lib/easy_caddy/commands/audit.rb', line 27

def verify
  @verify
end