def get_sns_access_token
      path = '/sns/gettoken'
      response = fire_request path, {appid: app_id, appsecret: app_secret}, method: :get
      response[:access_token]
    end
def get_sns_access_token
      path = '/sns/gettoken'
      response = fire_request path, {appid: app_id, appsecret: app_secret}, method: :get
      response[:access_token]
    end
Dingding response
 {
     "access_token": "070c171a26aaaaa631dxxxxxxxx",
     "errcode": 0,
     "errmsg": "ok"
 }