class JSONAPI::Consumer::DasherizedRouteFormatter
Public Class Methods
format(route)
click to toggle source
Calls superclass method
JSONAPI::Consumer::RouteFormatter::format
# File lib/jsonapi/consumer/formatter.rb, line 133 def format(route) super.dasherize end
unformat(formatted_route)
click to toggle source
# File lib/jsonapi/consumer/formatter.rb, line 137 def unformat(formatted_route) formatted_route.to_s.underscore end