This construct is a bit questionable - it would probably be better to do:

get_properties(app, properties || [:domain, :creation_time, ...])