Created
December 19, 2018 22:05
-
-
Save hellosweta/ea5bef253c987bb94b73fe45145492e3 to your computer and use it in GitHub Desktop.
Write a file from an xml response
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File.open('file/path/that/exists/file.xml', 'w') { |file| file.puts response } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment