Class: DasherizedKeyFormatter
- Inherits:
 - 
      JSONAPI::KeyFormatter
      
        
- Object
 - JSONAPI::Formatter
 - JSONAPI::KeyFormatter
 - DasherizedKeyFormatter
 
 
- Defined in:
 - lib/jsonapi/formatter.rb
 
Class Method Summary collapse
Methods inherited from JSONAPI::Formatter
Class Method Details
.format(key) ⇒ Object
      103 104 105  | 
    
      # File 'lib/jsonapi/formatter.rb', line 103 def format(key) super.underscore.dasherize end  | 
  
.unformat(formatted_key) ⇒ Object
      107 108 109  | 
    
      # File 'lib/jsonapi/formatter.rb', line 107 def unformat(formatted_key) formatted_key.to_s.underscore end  |