Module: Zoomify::Resources::Group

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

Instance Method Summary collapse

Instance Method Details

#group_delete_member(*args) ⇒ Object



18
19
20
21
22
# File 'lib/zoomify/resources/group.rb', line 18

def 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("/groups/#{params[:id]}/members/#{params[:member_id]}", params)
end