Manage the nodejs route file via the same API as Apache
# File lib/openshift-origin-node/model/frontend_httpd.rb, line 1083 def callout end
# File lib/openshift-origin-node/model/frontend_httpd.rb, line 1072 def decode_contents(f) begin self.replace(JSON.load(f)) rescue TypeError, JSON::ParserError end end
# File lib/openshift-origin-node/model/frontend_httpd.rb, line 1079 def encode_contents(f) f.write(JSON.generate(self.to_hash)) end