Class: Seo::LinkSanitizer::Result
- Inherits:
-
Data
- Object
- Data
- Seo::LinkSanitizer::Result
- Defined in:
- app/services/seo/link_sanitizer.rb
Overview
Service object: result.
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.
15 |
# File 'app/services/seo/link_sanitizer.rb', line 15 def initialize(out: nil, status: nil, error: nil) = super |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error
14 15 16 |
# File 'app/services/seo/link_sanitizer.rb', line 14 def error @error end |
#out ⇒ Object (readonly)
Returns the value of attribute out
14 15 16 |
# File 'app/services/seo/link_sanitizer.rb', line 14 def out @out end |
#status ⇒ Object (readonly)
Returns the value of attribute status
14 15 16 |
# File 'app/services/seo/link_sanitizer.rb', line 14 def status @status end |