Weixin functions(Request Validation, Message Parser and Generator) for Ruby Web Apps