head_uuid: required_uuids).
collect(&:head_uuid)
todo_uuids = required_uuids - signed_uuids
- if todo_uuids == []
+ if todo_uuids.empty?
@object.update_attributes is_active: true
logger.info "User #{@object.uuid} activated"
else
protected
- def self._setup_requires_parameters
+ def self._setup_requires_parameters
{
send_notification_email: { type: 'boolean', required: true },
- }
+ }
end
end