Class: Zm::Client::TasksCollection

Inherits:
Base::AccountSearchObjectsCollection show all
Defined in:
lib/zm/client/task/tasks_collection.rb

Overview

collection of tasks

Constant Summary

Constants inherited from Base::ObjectsCollection

Base::ObjectsCollection::METHODS_MISSING_LIST

Instance Attribute Summary

Attributes inherited from Base::AccountSearchObjectsCollection

#more

Attributes inherited from Base::ObjectsCollection

#parent

Instance Method Summary collapse

Methods inherited from Base::AccountSearchObjectsCollection

#end_at, #find, #folder_ids, #folders, #ids, #order, #reset, #start_at, #where

Methods inherited from Base::ObjectsCollection

#all, #all!, #build_from_entry, #find, #first, #logger, #method_missing, #new, #order, #page, #per_page, #respond_to_missing?

Constructor Details

#initialize(parent) ⇒ TasksCollection

Returns a new instance of TasksCollection.



7
8
9
10
11
12
13
# File 'lib/zm/client/task/tasks_collection.rb', line 7

def initialize(parent)
  super(parent)
  @child_class = Task
  @builder_class = TasksBuilder
  @type = 'task'
  @sort_by = 'taskDueAsc'
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Zm::Client::Base::ObjectsCollection