Method: JSONAPI::Consumer::Relationships::TopLevelRelations#method_missing

Defined in:
lib/jsonapi/consumer/relationships/top_level_relations.rb

#method_missing(method, *args) ⇒ Object



16
17
18
19
20
21
22
# File 'lib/jsonapi/consumer/relationships/top_level_relations.rb', line 16

def method_missing(method, *args)
  if respond_to_missing?(method)
    fetch_relation(method)
  else
    super
  end
end