Sha256: 67d7042ac81ac9a204c1725179cc02ec1a6a7647c3d4a8d06e31e628e87bae7f
Contents?: true
Size: 527 Bytes
Versions: 8
Compression:
Stored size: 527 Bytes
Contents
module Runcible module Extensions class PackageGroup < Runcible::Base TYPE = 'package_group' def self.all Runcible::Resources::Unit.search(TYPE, {}) end def self.find(id) find_all([id]).first end def self.find_all(ids) Runcible::Resources::Unit.search(TYPE, :filters => {'id'=> {'$in'=> ids}}) end def self.find_all_by_unit_ids(ids) Runcible::Resources::Unit.search(TYPE, :filters => {:_id=> {'$in'=> ids}}) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems