module Fog module Identity class OpenStack class V3 class Real def grant_project_user_role(id, user_id, role_id) request( :expects => [204], :method => 'PUT', :path => "projects/#{id}/users/#{user_id}/roles/#{role_id}" ) end end class Mock end end end end end