Class: Seo::LinkSanitizer::Result

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#errorObject (readonly)

Returns the value of attribute error

Returns:

  • (Object)

    the current value of error



11
12
13
# File 'app/services/seo/link_sanitizer.rb', line 11

def error
  @error
end

#outObject (readonly)

Returns the value of attribute out

Returns:

  • (Object)

    the current value of out



11
12
13
# File 'app/services/seo/link_sanitizer.rb', line 11

def out
  @out
end

#statusObject (readonly)

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



11
12
13
# File 'app/services/seo/link_sanitizer.rb', line 11

def status
  @status
end