Method: GoodData::SmallGoodZilla.interpolate_ids

Defined in:
lib/gooddata/goodzilla/goodzilla.rb

.interpolate_ids(options, *ids) ⇒ Object



124
125
126
127
128
129
130
131
132
133
# File 'lib/gooddata/goodzilla/goodzilla.rb', line 124

def interpolate_ids(options, *ids)
  ids = ids.flatten
  if ids.empty?
    []
  else
    res = GoodData::MdObject.identifier_to_uri(options, *ids)
    fail 'Not all of the identifiers were resolved' if Array(res).size != ids.size
    res
  end
end