Class: FedoraMigrate::ContentMover::Report

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#errorObject

Returns the value of attribute error.



7
8
9
# File 'lib/fedora_migrate/content_mover.rb', line 7

def error
  @error
end

#mime_typeObject

Returns the value of attribute mime_type.



7
8
9
# File 'lib/fedora_migrate/content_mover.rb', line 7

def mime_type
  @mime_type
end

#nameObject

Returns the value of attribute name.



7
8
9
# File 'lib/fedora_migrate/content_mover.rb', line 7

def name
  @name
end

#original_dateObject

Returns the value of attribute original_date.



7
8
9
# File 'lib/fedora_migrate/content_mover.rb', line 7

def original_date
  @original_date
end

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


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

def success?
  error.nil?
end