Class: Datatxt::Sim

Inherits:
Base
  • Object
show all
Defined in:
lib/datatxt/sim.rb

Constant Summary collapse

ENDPOINT =
"/datatxt/sim/v1"

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#bowObject

Returns the value of attribute bow.



11
12
13
# File 'lib/datatxt/sim.rb', line 11

def bow
  @bow
end

#html1Object

Returns the value of attribute html1.



11
12
13
# File 'lib/datatxt/sim.rb', line 11

def html1
  @html1
end

#html2Object

Returns the value of attribute html2.



11
12
13
# File 'lib/datatxt/sim.rb', line 11

def html2
  @html2
end

#html_fragment1Object

Returns the value of attribute html_fragment1.



11
12
13
# File 'lib/datatxt/sim.rb', line 11

def html_fragment1
  @html_fragment1
end

#html_fragment2Object

Returns the value of attribute html_fragment2.



11
12
13
# File 'lib/datatxt/sim.rb', line 11

def html_fragment2
  @html_fragment2
end

#langObject

Returns the value of attribute lang.



11
12
13
# File 'lib/datatxt/sim.rb', line 11

def lang
  @lang
end

#text1Object

Returns the value of attribute text1.



11
12
13
# File 'lib/datatxt/sim.rb', line 11

def text1
  @text1
end

#text2Object

Returns the value of attribute text2.



11
12
13
# File 'lib/datatxt/sim.rb', line 11

def text2
  @text2
end

#url1Object

Returns the value of attribute url1.



11
12
13
# File 'lib/datatxt/sim.rb', line 11

def url1
  @url1
end

#url2Object

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(options)
  params = options
  call(ENDPOINT, params)
end