class DasherizedKeyFormatter
Public Class Methods
format(_key)
click to toggle source
Calls superclass method
JSONAPI::KeyFormatter::format
# File lib/jsonapi/formatter.rb, line 111 def format(_key) super.underscore.dasherize end
unformat(formatted_key)
click to toggle source
# File lib/jsonapi/formatter.rb, line 115 def unformat(formatted_key) formatted_key.to_s.underscore end