Class: UpdateApplier::Result

Inherits:
Struct
  • Object
show all
Defined in:
action/lib/update_applier.rb

Overview

Summary of manifest rewrites attempted by apply-updates mode.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#appliedObject

Returns the value of attribute applied

Returns:

  • (Object)

    the current value of applied



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

def applied
  @applied
end

#failedObject

Returns the value of attribute failed

Returns:

  • (Object)

    the current value of failed



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

def failed
  @failed
end

#skippedObject

Returns the value of attribute skipped

Returns:

  • (Object)

    the current value of skipped



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

def skipped
  @skipped
end

Instance Method Details

#applied_countObject



9
10
11
# File 'action/lib/update_applier.rb', line 9

def applied_count
  applied.size
end

#failed?Boolean

Returns:

  • (Boolean)


13
14
15
# File 'action/lib/update_applier.rb', line 13

def failed?
  failed.any?
end

#to_json_recordsObject



17
18
19
# File 'action/lib/update_applier.rb', line 17

def to_json_records
  applied
end