Class: Seo::LinkSanitizer::Result
- Inherits:
-
Data
- Object
- Data
- Seo::LinkSanitizer::Result
- Defined in:
- app/services/seo/link_sanitizer.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
-
#out ⇒ Object
readonly
Returns the value of attribute out.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(out: nil, status: nil, error: nil) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(out: nil, status: nil, error: nil) ⇒ Result
Returns a new instance of Result.
12 |
# File 'app/services/seo/link_sanitizer.rb', line 12 def initialize(out: nil, status: nil, error: nil) = super |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error
11 12 13 |
# File 'app/services/seo/link_sanitizer.rb', line 11 def error @error end |
#out ⇒ Object (readonly)
Returns the value of attribute out
11 12 13 |
# File 'app/services/seo/link_sanitizer.rb', line 11 def out @out end |
#status ⇒ Object (readonly)
Returns the value of attribute status
11 12 13 |
# File 'app/services/seo/link_sanitizer.rb', line 11 def status @status end |