Class: IERS::UpdateResult

Inherits:
Data
  • Object
show all
Defined in:
lib/iers/update_result.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#errorsHash{Symbol => Error} (readonly)

Returns the current value of errors.

Returns:

  • (Hash{Symbol => Error})

    the current value of errors



6
7
8
# File 'lib/iers/update_result.rb', line 6

def errors
  @errors
end

#updated_filesArray<Symbol> (readonly)

Returns the current value of updated_files.

Returns:

  • (Array<Symbol>)

    the current value of updated_files



6
7
8
# File 'lib/iers/update_result.rb', line 6

def updated_files
  @updated_files
end

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


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

def success?
  errors.empty?
end