摘要:
研究了下极光推送写了个rails版本封装http接口的文件,上代码# -*- encoding : utf-8 -*-require 'digest/md5'require 'json'require 'rest_client'module NotificationPush def push_message(opts ={}) sendno = opts[:sendno] || 1 app_key = opts[:app_key] || '.....' receiver_type = opts[:receiver_type] || 阅读全文