lib/mangopay/authorization_token.rb in mangopay-3.22.0 vs lib/mangopay/authorization_token.rb in mangopay-3.23.0
- old
+ new
@@ -71,10 +71,10 @@
nil
end
end
def store(token)
- File.open(file_path, File::RDWR|File::CREAT, 0644) do |f|
+ File.open(file_path, File::RDWR | File::CREAT, 0644) do |f|
f.flock(File::LOCK_EX)
f.truncate(0)
f.rewind
f.puts(YAML.dump(token))
end