Method: WeixinAuthorize::Api::Groups#create_group

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

#create_group(group_name) ⇒ Object



8
9
10
11
# File 'lib/weixin_authorize/api/groups.rb', line 8

def create_group(group_name)
  create_url = "#{group_base_url}/create"
  http_post(create_url, {group: {name: group_name}})
end