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