@bradgignac - good question, probably should have just gone there to begin with. It uses the attribute method to do casting, see: https://github.com/fog/fog/blob/master/lib/fog/aws/models/storage/file.rb#L17