Class: Datatxt::Li

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

Constant Summary collapse

ENDPOINT =
"/datatxt/li/v1"

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#cleanObject

Returns the value of attribute clean.



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

def clean
  @clean
end

#htmlObject

Returns the value of attribute html.



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

def html
  @html
end

#html_fragmentObject

Returns the value of attribute html_fragment.



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

def html_fragment
  @html_fragment
end

#textObject

Returns the value of attribute text.



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

def text
  @text
end

#urlObject

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