class JSONAPI::Consumer::CamelizedKeyFormatter
Public Class Methods
format(key)
click to toggle source
Calls superclass method
JSONAPI::Consumer::KeyFormatter::format
# File lib/jsonapi/consumer/formatter.rb, line 77 def format(key) super.camelize(:lower) end
unformat(formatted_key)
click to toggle source
# File lib/jsonapi/consumer/formatter.rb, line 81 def unformat(formatted_key) formatted_key.to_s.underscore end