Class: Seo::ImageOptimizer::Result

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

Overview

Service object: result.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(html_out: nil) ⇒ Result

Returns a new instance of Result.



6
# File 'app/services/seo/image_optimizer.rb', line 6

def initialize(html_out: nil) = super

Instance Attribute Details

#html_outObject (readonly)

Returns the value of attribute html_out

Returns:

  • (Object)

    the current value of html_out



5
6
7
# File 'app/services/seo/image_optimizer.rb', line 5

def html_out
  @html_out
end