Module: Jat::Plugins::JsonApi::IncludeParamParser::ClassMethods
- Included in:
- Jat::Plugins::JsonApi::IncludeParamParser
- Defined in:
- lib/jat/plugins/json_api/lib/include_param_parser.rb
Constant Summary collapse
- COMMA =
","
- DOT =
"."
Instance Method Summary collapse
Instance Method Details
#parse(includes_string_param) ⇒ Object
11 12 13 14 15 16 |
# File 'lib/jat/plugins/json_api/lib/include_param_parser.rb', line 11 def parse(includes_string_param) return {} unless includes_string_param includes_hash = parse_to_nested_hash(includes_string_param) typed_includes(jat_class, includes_hash, {}) end |