Class: Domain

Inherits:
Object
  • Object
show all
Defined in:
app/models/domain.rb

Class Method Summary collapse

Class Method Details

.allObject



4
5
6
7
8
9
10
11
12
13
# File 'app/models/domain.rb', line 4

def self.all
  # Values taken from PDC Discovery
  # https://github.com/pulibrary/pdc_discovery/blob/main/lib/traject/domain.rb
  domains = []
  domains << "Engineering"
  domains << "Humanities"
  domains << "Natural Sciences"
  domains << "Social Sciences"
  domains
end