Class: Jets::Util

Inherits:
Object
  • Object
show all
Defined in:
lib/jets/util.rb

Class Method Summary collapse

Class Method Details

.normalize_result(result) ⇒ Object

Make sure that the result is a text.



4
5
6
# File 'lib/jets/util.rb', line 4

def normalize_result(result)
  JSON.dump(result)
end