Class: DataScienceTheater3000::Text2Places

Inherits:
Object
  • Object
show all
Defined in:
lib/data_science_theater_3000/text2places.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(text_string) ⇒ Text2Places

Returns a new instance of Text2Places.

Parameters:

  • (String)


9
10
11
# File 'lib/data_science_theater_3000/text2places.rb', line 9

def initialize text_string
  @text_string = text_string
end

Instance Attribute Details

#text_stringObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



5
6
7
# File 'lib/data_science_theater_3000/text2places.rb', line 5

def text_string
  @text_string
end

Instance Method Details

#resultHash

Returns:

  • (Hash)


15
16
17
# File 'lib/data_science_theater_3000/text2places.rb', line 15

def result
  dst_request.result
end