Class: Datatxt::Li
Constant Summary collapse
- ENDPOINT =
"/datatxt/li/v1"
Instance Attribute Summary collapse
-
#clean ⇒ Object
Returns the value of attribute clean.
-
#html ⇒ Object
Returns the value of attribute html.
-
#html_fragment ⇒ Object
Returns the value of attribute html_fragment.
-
#text ⇒ Object
Returns the value of attribute text.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
Instance Attribute Details
#clean ⇒ Object
Returns the value of attribute clean.
11 12 13 |
# File 'lib/datatxt/li.rb', line 11 def clean @clean end |
#html ⇒ Object
Returns the value of attribute html.
11 12 13 |
# File 'lib/datatxt/li.rb', line 11 def html @html end |
#html_fragment ⇒ Object
Returns the value of attribute html_fragment.
11 12 13 |
# File 'lib/datatxt/li.rb', line 11 def html_fragment @html_fragment end |
#text ⇒ Object
Returns the value of attribute text.
11 12 13 |
# File 'lib/datatxt/li.rb', line 11 def text @text end |
#url ⇒ Object
Returns the value of attribute url.
11 12 13 |
# File 'lib/datatxt/li.rb', line 11 def url @url end |
Instance Method Details
#analyze(options) ⇒ Object
13 14 15 16 |
# File 'lib/datatxt/li.rb', line 13 def analyze() params = call(ENDPOINT, params) end |