Class: Faq::ContentCondenser::Result
- Inherits:
-
Data
- Object
- Data
- Faq::ContentCondenser::Result
- Defined in:
- app/services/faq/content_condenser.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#original_html ⇒ Object
readonly
Returns the value of attribute original_html.
-
#original_word_count ⇒ Object
readonly
Returns the value of attribute original_word_count.
-
#output_html ⇒ Object
readonly
Returns the value of attribute output_html.
-
#output_word_count ⇒ Object
readonly
Returns the value of attribute output_word_count.
-
#success ⇒ Object
readonly
Returns the value of attribute success.
Instance Method Summary collapse
-
#initialize(success: nil, original_html: nil, output_html: nil, original_word_count: 0, output_word_count: 0, error: nil, message: nil) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(success: nil, original_html: nil, output_html: nil, original_word_count: 0, output_word_count: 0, error: nil, message: nil) ⇒ Result
Returns a new instance of Result.
9 10 11 |
# File 'app/services/faq/content_condenser.rb', line 9 def initialize(success: nil, original_html: nil, output_html: nil, original_word_count: 0, output_word_count: 0, error: nil, message: nil) super end |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error
8 9 10 |
# File 'app/services/faq/content_condenser.rb', line 8 def error @error end |
#message ⇒ Object (readonly)
Returns the value of attribute message
8 9 10 |
# File 'app/services/faq/content_condenser.rb', line 8 def @message end |
#original_html ⇒ Object (readonly)
Returns the value of attribute original_html
8 9 10 |
# File 'app/services/faq/content_condenser.rb', line 8 def original_html @original_html end |
#original_word_count ⇒ Object (readonly)
Returns the value of attribute original_word_count
8 9 10 |
# File 'app/services/faq/content_condenser.rb', line 8 def original_word_count @original_word_count end |
#output_html ⇒ Object (readonly)
Returns the value of attribute output_html
8 9 10 |
# File 'app/services/faq/content_condenser.rb', line 8 def output_html @output_html end |
#output_word_count ⇒ Object (readonly)
Returns the value of attribute output_word_count
8 9 10 |
# File 'app/services/faq/content_condenser.rb', line 8 def output_word_count @output_word_count end |
#success ⇒ Object (readonly)
Returns the value of attribute success
8 9 10 |
# File 'app/services/faq/content_condenser.rb', line 8 def success @success end |