Method: GoodData::Mixin::MdRelations#usedby

Defined in:
lib/gooddata/mixins/md_relations.rb

#usedby(key = nil, opts = { :client => client, :project => project }) ⇒ Object Also known as: used_by

Returns which objects uses this MD resource



20
21
22
# File 'lib/gooddata/mixins/md_relations.rb', line 20

def usedby(key = nil, opts = { :client => client, :project => project })
  dependency("#{project.md['usedby2']}/#{obj_id}", key, { :client => client, :project => project }.merge(opts))
end