1 2 3 4 5 6
if @file json.extract! @file, :fingerprint, :state else json.fingerprint @fingerprint json.state "unknown" end