Class: ProjectImportData

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/project_import_data.rb

Instance Method Summary collapse

Instance Method Details

#symbolize_credentialsObject


29
30
31
32
# File 'app/models/project_import_data.rb', line 29

def symbolize_credentials
  # bang doesn't work here - attr_encrypted makes it not to work
  self.credentials = self.credentials.deep_symbolize_keys unless self.credentials.blank?
end