Class: Seo::HtmlLinkSanitizer::Result

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(html_out: nil, links_modified: [], errors: []) ⇒ Result

Returns a new instance of Result.



4
# File 'app/services/seo/html_link_sanitizer.rb', line 4

def initialize(html_out: nil, links_modified: [], errors: []) = super

Instance Attribute Details

#errorsObject (readonly)

Returns the value of attribute errors

Returns:

  • (Object)

    the current value of errors



3
4
5
# File 'app/services/seo/html_link_sanitizer.rb', line 3

def errors
  @errors
end

#html_outObject (readonly)

Returns the value of attribute html_out

Returns:

  • (Object)

    the current value of html_out



3
4
5
# File 'app/services/seo/html_link_sanitizer.rb', line 3

def html_out
  @html_out
end

Returns the value of attribute links_modified

Returns:

  • (Object)

    the current value of links_modified



3
4
5
# File 'app/services/seo/html_link_sanitizer.rb', line 3

def links_modified
  @links_modified
end