Module: BelphaniorServantHelper

Defined in:
lib/belphanior/servant/belphanior_servant_helper.rb

Class Method Summary collapse

Class Method Details

.text_out_as_json(text_representation, status = 200) ⇒ Object



2
3
4
# File 'lib/belphanior/servant/belphanior_servant_helper.rb', line 2

def self.text_out_as_json(text_representation, status=200)
  [status, {"Content-Type" => "application/json"}, text_representation]
end