Class: Jat::Plugins::JsonApi::Params::Include::Parse

Inherits:
Object
  • Object
show all
Defined in:
lib/jat/plugins/json_api/lib/params/include/parse.rb

Constant Summary collapse

COMMA =
","
DOT =
"."

Class Method Summary collapse

Class Method Details

.call(includes_string) ⇒ Object



13
14
15
16
17
# File 'lib/jat/plugins/json_api/lib/params/include/parse.rb', line 13

def call(includes_string)
  return {} unless includes_string

  string_to_hash(includes_string)
end