Module: Zoomify::Resources::ImGroup

Included in:
Client
Defined in:
lib/zoomify/resources/im_group.rb

Instance Method Summary collapse

Instance Method Details

#im_group_delete_member(*args) ⇒ Object



17
18
19
20
21
# File 'lib/zoomify/resources/im_group.rb', line 17

def im_group_delete_member *args
  params = Request.extract_params args
  (raise Request.argument_error "Both Group's id and member_id") if params[:id].blank? || params[:member_id].blank?
  self.class.fire_delete("/im/groups/#{params[:id]}/members/#{params[:member_id]}", params)
end