Module: Jat::Plugins::JsonApi::FieldsParamParser::ClassMethods
- Included in:
- Jat::Plugins::JsonApi::FieldsParamParser
- Defined in:
- lib/jat/plugins/json_api/lib/fields_param_parser.rb
Constant Summary collapse
- COMMA =
","
Instance Method Summary collapse
Instance Method Details
#parse(fields) ⇒ Object
10 11 12 13 14 |
# File 'lib/jat/plugins/json_api/lib/fields_param_parser.rb', line 10 def parse(fields) return FROZEN_EMPTY_HASH unless fields parse_to_nested_hash(fields) end |