Class: Seo::HtmlLinkSanitizer::Result
- Inherits:
-
Data
- Object
- Data
- Seo::HtmlLinkSanitizer::Result
- Defined in:
- app/services/seo/html_link_sanitizer.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
-
#html_out ⇒ Object
readonly
Returns the value of attribute html_out.
-
#links_modified ⇒ Object
readonly
Returns the value of attribute links_modified.
Instance Method Summary collapse
-
#initialize(html_out: nil, links_modified: [], errors: []) ⇒ Result
constructor
A new instance of Result.
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
#errors ⇒ Object (readonly)
Returns the value of attribute errors
3 4 5 |
# File 'app/services/seo/html_link_sanitizer.rb', line 3 def errors @errors end |
#html_out ⇒ Object (readonly)
Returns the value of attribute html_out
3 4 5 |
# File 'app/services/seo/html_link_sanitizer.rb', line 3 def html_out @html_out end |
#links_modified ⇒ Object (readonly)
Returns the value of attribute links_modified
3 4 5 |
# File 'app/services/seo/html_link_sanitizer.rb', line 3 def links_modified @links_modified end |