Method: RokuController#get_text
- Defined in:
- lib/platform_libs/roku/roku_controller.rb
#get_text(element_name) ⇒ Object
Deprecated: fetch the json associated with the element_name
- does not provide error processing
element_name - the name of the element to be retrieved
104 105 106 107 108 109 |
# File 'lib/platform_libs/roku/roku_controller.rb', line 104 def get_text(element_name) puts "\ngetText " + element_name uri = URI(element_name) s = Net::HTTP.get(uri) return s end |