Method: JSONAPI::ValueFormatter.value_formatter_for

Defined in:
lib/jsonapi/formatter.rb

.value_formatter_for(type) ⇒ Object



56
57
58
# File 'lib/jsonapi/formatter.rb', line 56

def value_formatter_for(type)
  "#{type.to_s.camelize}ValueFormatter".safe_constantize
end