def fetch_jsapi_ticket
      path = '/get_jsapi_ticket'
      response = fire_request path, {access_token: refreshed_access_token, type: :jsapi}, method: :get
      return response[:ticket], response
    end
def fetch_jsapi_ticket
      path = '/get_jsapi_ticket'
      response = fire_request path, {access_token: refreshed_access_token, type: :jsapi}, method: :get
      return response[:ticket], response
    end
Dingding response
 {
   "errmsg": "ok",
   "ticket": "lVfNJcn8iwgasfadsfasdfadfaljsdfjalsdfBXRLFhHP335cbvqBV3dVyxE6AWfsQFCftwimXM",
   "expires_in": 7200,
   "errcode": 0
 }