lib/app42/base/constants.rb in app42-0.5.8 vs lib/app42/base/constants.rb in app42-0.5.9
- old
+ new
@@ -17,9 +17,12 @@
XML_MIME_TYPE = "application/xml".freeze
# Error codes
APP42_HTTP_ERROR_CODES = [ 1500 ]
+ # Scale type
+ SCALE_TYPE = ['Horizontal', 'Vertical']
+
DATABASE_NAME_NOT_ALLOWED = %w(mysql couchdb mongodb postgresql database sql)
# regex for special character
SPECIAL = "?<>',?[]}{=-)(*&^%$#`~{}@ .+!_/"
REGEX = /[#{SPECIAL.gsub(/./){|char| "\\#{char}"}}]/
\ No newline at end of file