lib/linked_in/api/groups.rb
# (Update) User joins, or requests to join, a group
#
# @see http://developer.linkedin.com/documents/groups-api#membergroups
#
# @param [String] group_id Group ID
# @return [void]
(Update) User joins, or requests to join, a group
( Update ) User joins or requests to join a group
def join_group(group_id)
        path = "/people/~/group-memberships/#{group_id}"
        body = {'membership-state' => {'code' => 'member' }}
        put(path, MultiJson.dump(body), "Content-Type" => "application/json")
      end
def join_group ( group_id ) path = "/people/~/group-memberships/#{group_id}" body = { 'membership-state' => { 'code' => 'member' } } put ( path , MultiJson . dump ( body ) , "Content-Type" => "application/json" ) end
(Update) User joins, or requests to join, a group
( Update ) User joins or requests to join a group
None
void
group_id
<not_specific>
<not_specific>
group_id Group ID
group_id Group ID
see
None