Method: JSONAPI::ValueFormatter.value_formatter_for

Defined in:
lib/jsonapi/formatter.rb

.value_formatter_for(type) ⇒ Object



60
61
62
# File 'lib/jsonapi/formatter.rb', line 60

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