Method: WeixinAuthorize::Api::Groups#update_group_for_openid

Defined in:
lib/weixin_authorize/api/groups.rb

#update_group_for_openid(openid, to_groupid) ⇒ Object



36
37
38
39
# File 'lib/weixin_authorize/api/groups.rb', line 36

def update_group_for_openid(openid, to_groupid)
  group_url = "#{group_base_url}/members/update"
  http_post(group_url, {openid: openid, to_groupid: to_groupid})
end