Module: Resync::Client::Mixins::PlainList

Included in:
Resync::ChangeList, ResourceList
Defined in:
lib/resync/client/mixins/plain_list.rb

Overview

A resource container whose resources are not, themselves, resource containers

Instance Method Summary collapse

Instance Method Details

#all_resourcesEnumerator::Lazy<Resync::Resource>

Delegates to BaseResourceList#resources for interoperation with ListIndex#all_resources.

Returns:

  • (Enumerator::Lazy<Resync::Resource>)

    a lazy enumeration of the resources in this document



11
12
13
# File 'lib/resync/client/mixins/plain_list.rb', line 11

def all_resources
  resources.lazy
end