module EzLinkedin::Api::UpdateMethods
Public Instance Methods
join_group(id)
click to toggle source
Join a group @param id [Fixnum] number representing group id
@return [HTTP:Response] response of put call
# File lib/ezlinkedin/api/update_methods.rb, line 31 def join_group(id) path = "/people/~/group-memberships/#{id}" body = {'membership-state' => {'code' => 'member'}} put(path, body.to_json, "Content-Type" => "application/json") end