Class: Datatxt::Sim
Constant Summary collapse
- ENDPOINT =
"/datatxt/sim/v1"
Instance Attribute Summary collapse
-
#bow ⇒ Object
Returns the value of attribute bow.
-
#html1 ⇒ Object
Returns the value of attribute html1.
-
#html2 ⇒ Object
Returns the value of attribute html2.
-
#html_fragment1 ⇒ Object
Returns the value of attribute html_fragment1.
-
#html_fragment2 ⇒ Object
Returns the value of attribute html_fragment2.
-
#lang ⇒ Object
Returns the value of attribute lang.
-
#text1 ⇒ Object
Returns the value of attribute text1.
-
#text2 ⇒ Object
Returns the value of attribute text2.
-
#url1 ⇒ Object
Returns the value of attribute url1.
-
#url2 ⇒ Object
Returns the value of attribute url2.
Instance Method Summary collapse
Instance Attribute Details
#bow ⇒ Object
Returns the value of attribute bow.
11 12 13 |
# File 'lib/datatxt/sim.rb', line 11 def bow @bow end |
#html1 ⇒ Object
Returns the value of attribute html1.
11 12 13 |
# File 'lib/datatxt/sim.rb', line 11 def html1 @html1 end |
#html2 ⇒ Object
Returns the value of attribute html2.
11 12 13 |
# File 'lib/datatxt/sim.rb', line 11 def html2 @html2 end |
#html_fragment1 ⇒ Object
Returns the value of attribute html_fragment1.
11 12 13 |
# File 'lib/datatxt/sim.rb', line 11 def html_fragment1 @html_fragment1 end |
#html_fragment2 ⇒ Object
Returns the value of attribute html_fragment2.
11 12 13 |
# File 'lib/datatxt/sim.rb', line 11 def html_fragment2 @html_fragment2 end |
#lang ⇒ Object
Returns the value of attribute lang.
11 12 13 |
# File 'lib/datatxt/sim.rb', line 11 def lang @lang end |
#text1 ⇒ Object
Returns the value of attribute text1.
11 12 13 |
# File 'lib/datatxt/sim.rb', line 11 def text1 @text1 end |
#text2 ⇒ Object
Returns the value of attribute text2.
11 12 13 |
# File 'lib/datatxt/sim.rb', line 11 def text2 @text2 end |
#url1 ⇒ Object
Returns the value of attribute url1.
11 12 13 |
# File 'lib/datatxt/sim.rb', line 11 def url1 @url1 end |
#url2 ⇒ Object
Returns the value of attribute url2.
11 12 13 |
# File 'lib/datatxt/sim.rb', line 11 def url2 @url2 end |
Instance Method Details
#analyze(options) ⇒ Object
13 14 15 16 |
# File 'lib/datatxt/sim.rb', line 13 def analyze() params = call(ENDPOINT, params) end |