Class: RememberTheRuby::List

Inherits:
Entity
  • Object
show all
Defined in:
lib/remember-the-ruby/list.rb

Instance Method Summary collapse

Methods inherited from Entity

#[], #[]=, from_element, #hydrate_from, #initialize, list_from_elements, #method_missing, #original_lookup, #regular_reader, #regular_writer

Constructor Details

This class inherits a constructor from RememberTheRuby::Entity

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class RememberTheRuby::Entity

Instance Method Details

#tasksObject



4
5
6
7
8
# File 'lib/remember-the-ruby/list.rb', line 4

def tasks
  tasks = @transport.tasks.get_list(:list_id => self['id'])
  tasks.defaults['list_id'] = self['id']
  tasks
end