Class: Nppes::UpdatePack::CodeValues

Inherits:
Object
  • Object
show all
Defined in:
lib/nppes/update_pack/code_values.rb

Class Method Summary collapse

Class Method Details

.decode(type, val) ⇒ Object



1158
1159
1160
# File 'lib/nppes/update_pack/code_values.rb', line 1158

def decode(type, val)
  code_values[type.downcase.to_sym][val.try :upcase]
end