Class: Datatxt::Nex

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeNex

Returns a new instance of Nex.



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

def initialize
  
end

Instance Attribute Details

#countryObject

Returns the value of attribute country.



9
10
11
# File 'lib/datatxt/nex.rb', line 9

def country
  @country
end

#custom_spotsObject

Returns the value of attribute custom_spots.



9
10
11
# File 'lib/datatxt/nex.rb', line 9

def custom_spots
  @custom_spots
end

#endpointObject

Returns the value of attribute endpoint.



9
10
11
# File 'lib/datatxt/nex.rb', line 9

def endpoint
  @endpoint
end

#extra_typesObject

Returns the value of attribute extra_types.



9
10
11
# File 'lib/datatxt/nex.rb', line 9

def extra_types
  @extra_types
end

#htmlObject

Returns the value of attribute html.



9
10
11
# File 'lib/datatxt/nex.rb', line 9

def html
  @html
end

#html_fragmentObject

Returns the value of attribute html_fragment.



9
10
11
# File 'lib/datatxt/nex.rb', line 9

def html_fragment
  @html_fragment
end

#includeObject

Returns the value of attribute include.



9
10
11
# File 'lib/datatxt/nex.rb', line 9

def include
  @include
end

#langObject

Returns the value of attribute lang.



9
10
11
# File 'lib/datatxt/nex.rb', line 9

def lang
  @lang
end

#min_confidenceObject

Returns the value of attribute min_confidence.



9
10
11
# File 'lib/datatxt/nex.rb', line 9

def min_confidence
  @min_confidence
end

#min_lengthObject

Returns the value of attribute min_length.



9
10
11
# File 'lib/datatxt/nex.rb', line 9

def min_length
  @min_length
end

#social_hashtagObject

Returns the value of attribute social_hashtag.



9
10
11
# File 'lib/datatxt/nex.rb', line 9

def social_hashtag
  @social_hashtag
end

#social_mentionObject

Returns the value of attribute social_mention.



9
10
11
# File 'lib/datatxt/nex.rb', line 9

def social_mention
  @social_mention
end

#textObject

Returns the value of attribute text.



9
10
11
# File 'lib/datatxt/nex.rb', line 9

def text
  @text
end

#urlObject

Returns the value of attribute url.



9
10
11
# File 'lib/datatxt/nex.rb', line 9

def url
  @url
end

Instance Method Details

#post(options) ⇒ Object



15
16
17
# File 'lib/datatxt/nex.rb', line 15

def post(options)
  call(params)
end