Class: Datatxt::Nex
Constant Summary collapse
- ENDPOINT =
"/datatxt/nex/v1"
Instance Attribute Summary collapse
-
#country ⇒ Object
Returns the value of attribute country.
-
#custom_spots ⇒ Object
Returns the value of attribute custom_spots.
-
#extra_types ⇒ Object
Returns the value of attribute extra_types.
-
#html ⇒ Object
Returns the value of attribute html.
-
#html_fragment ⇒ Object
Returns the value of attribute html_fragment.
-
#include ⇒ Object
Returns the value of attribute include.
-
#lang ⇒ Object
Returns the value of attribute lang.
-
#min_confidence ⇒ Object
Returns the value of attribute min_confidence.
-
#min_length ⇒ Object
Returns the value of attribute min_length.
-
#social_hashtag ⇒ Object
Returns the value of attribute social_hashtag.
-
#social_mention ⇒ Object
Returns the value of attribute social_mention.
-
#text ⇒ Object
Returns the value of attribute text.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
Instance Attribute Details
#country ⇒ Object
Returns the value of attribute country.
11 12 13 |
# File 'lib/datatxt/nex.rb', line 11 def country @country end |
#custom_spots ⇒ Object
Returns the value of attribute custom_spots.
11 12 13 |
# File 'lib/datatxt/nex.rb', line 11 def custom_spots @custom_spots end |
#extra_types ⇒ Object
Returns the value of attribute extra_types.
11 12 13 |
# File 'lib/datatxt/nex.rb', line 11 def extra_types @extra_types end |
#html ⇒ Object
Returns the value of attribute html.
11 12 13 |
# File 'lib/datatxt/nex.rb', line 11 def html @html end |
#html_fragment ⇒ Object
Returns the value of attribute html_fragment.
11 12 13 |
# File 'lib/datatxt/nex.rb', line 11 def html_fragment @html_fragment end |
#include ⇒ Object
Returns the value of attribute include.
11 12 13 |
# File 'lib/datatxt/nex.rb', line 11 def include @include end |
#lang ⇒ Object
Returns the value of attribute lang.
11 12 13 |
# File 'lib/datatxt/nex.rb', line 11 def lang @lang end |
#min_confidence ⇒ Object
Returns the value of attribute min_confidence.
11 12 13 |
# File 'lib/datatxt/nex.rb', line 11 def min_confidence @min_confidence end |
#min_length ⇒ Object
Returns the value of attribute min_length.
11 12 13 |
# File 'lib/datatxt/nex.rb', line 11 def min_length @min_length end |
#social_hashtag ⇒ Object
Returns the value of attribute social_hashtag.
11 12 13 |
# File 'lib/datatxt/nex.rb', line 11 def end |
#social_mention ⇒ Object
Returns the value of attribute social_mention.
11 12 13 |
# File 'lib/datatxt/nex.rb', line 11 def end |
#text ⇒ Object
Returns the value of attribute text.
11 12 13 |
# File 'lib/datatxt/nex.rb', line 11 def text @text end |
#url ⇒ Object
Returns the value of attribute url.
11 12 13 |
# File 'lib/datatxt/nex.rb', line 11 def url @url end |
Instance Method Details
#analyze(options) ⇒ Object
13 14 15 16 |
# File 'lib/datatxt/nex.rb', line 13 def analyze() params = call(ENDPOINT, params) end |