Manage the nodejs route file via the same API as Apache
# File lib/openshift-origin-node/model/frontend_httpd.rb, line 1133 def callout end
# File lib/openshift-origin-node/model/frontend_httpd.rb, line 1122 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 1129 def encode_contents(f) f.write(JSON.pretty_generate(self.to_hash)) end