Method: Connect::Dsl#lookup_objects

Defined in:
lib/connect/dsl.rb

#lookup_objects(type, keys) ⇒ Object



148
149
150
151
152
153
154
# File 'lib/connect/dsl.rb', line 148

def lookup_objects(type, keys)
  @objects_table.entries(type, keys).reduce([]) do | c, v |
    type = v[0]
    name = v[1]
    c << [type, lookup_object(type, name).full_representation]
  end
end