Title

Ruby code posted by Name
created at 23 Dec 16:21, updated at 05 Jan 18:09

Edit | Back
1
2
3
4
def self.database_type
    return 'DEV' + db_suffix if ENV['Environment'] == 'DEV'
    ENV_MAP.fetch(ENV['Environment'].downcase.to_sym, 'QA') + db_suffix
  end
163 Bytes in 2 ms with coderay