class Nuntius::TwilioVoiceProvider

def callback(params)

def callback(params)
  refresh.save
  twiml = script_for_path(message, "/#{params[:path]}", params)
  if twiml
    [200, {"Content-Type" => "application/xml"}, [twiml[:body]]]
  else
    [404, {"Content-Type" => "text/html; charset=utf-8"}, ["Not found"]]
  end
end