UOC has been taking digital attendance into Moodle for the past 2 years. They use Moodle Checklist and the Attendance plugins to do this. Students scan their student ID at the door and the attendance is signed off in Moodle for the students to keep track of.
Find out more about Checklists here
Find out more about the Attendance plug in here