Calls to_binary on a JOSE::JWT and then writes the binary to file.
file
Parameters:
Returns:
bytes written
156 157 158
# File 'lib/jose/jwt.rb', line 156 def self.to_file(jwt, file) return from(jwt).to_file(file) end