Sha256: 2d440545c1095900cf950091564ed2afd76332a609707137c8d8d39865686b12
Contents?: true
Size: 476 Bytes
Versions: 7
Compression:
Stored size: 476 Bytes
Contents
# frozen_string_literal: true require 'delegate' require 'acfs/resource/loadable' require 'acfs/collections/paginatable' module Acfs class Collection < ::Delegator include Resource::Loadable include Acfs::Util::Callbacks include Collections::Paginatable def initialize(resource_class) super([]) @resource_class = resource_class end def __getobj__ @models end def __setobj__(obj) @models = obj end end end
Version data entries
7 entries across 7 versions & 1 rubygems