Class: Seo::LegacyUrlMigrator::Result

Inherits:
Data
  • Object
show all
Defined in:
app/services/seo/legacy_url_migrator.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(html_out: nil, links_migrated: [], skipped: []) ⇒ Result

Returns a new instance of Result.



29
# File 'app/services/seo/legacy_url_migrator.rb', line 29

def initialize(html_out: nil, links_migrated: [], skipped: []) = super

Instance Attribute Details

#html_outObject (readonly)

Returns the value of attribute html_out

Returns:

  • (Object)

    the current value of html_out



28
29
30
# File 'app/services/seo/legacy_url_migrator.rb', line 28

def html_out
  @html_out
end

Returns the value of attribute links_migrated

Returns:

  • (Object)

    the current value of links_migrated



28
29
30
# File 'app/services/seo/legacy_url_migrator.rb', line 28

def links_migrated
  @links_migrated
end

#skippedObject (readonly)

Returns the value of attribute skipped

Returns:

  • (Object)

    the current value of skipped



28
29
30
# File 'app/services/seo/legacy_url_migrator.rb', line 28

def skipped
  @skipped
end