Class: CarrierType

Inherits:
ApplicationRecord
  • Object
show all
Includes:
MasterModel
Defined in:
app/models/carrier_type.rb,
app/models2/carrier_type.rb

Instance Method Summary collapse

Instance Method Details

#mods_typeObject



22
23
24
25
26
27
28
29
30
# File 'app/models/carrier_type.rb', line 22

def mods_type
  case name
  when 'volume'
    'text'
  else
    # TODO: その他のタイプ
    'software, multimedia'
  end
end