Class: Charyf::Engine::Response
Instance Attribute Summary collapse
-
#html ⇒ Object
Returns the value of attribute html.
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
Instance Attribute Details
#html ⇒ Object
Returns the value of attribute html.
5 6 7 |
# File 'lib/charyf/engine/response.rb', line 5 def html @html end |
#text ⇒ Object
Returns the value of attribute text.
5 6 7 |
# File 'lib/charyf/engine/response.rb', line 5 def text @text end |
Instance Method Details
#empty? ⇒ Boolean
13 14 15 |
# File 'lib/charyf/engine/response.rb', line 13 def empty? text.blank? && html.blank? end |