Class: Rumember::List

Inherits:
Abstract show all
Defined in:
lib/rumember/list.rb

Instance Attribute Summary

Attributes inherited from Abstract

#parent

Instance Method Summary collapse

Methods inherited from Abstract

boolean_reader, #initialize, integer_reader, reader, time_reader

Methods included from Dispatcher

#dispatch, #lists, #locations, #transaction_dispatch

Constructor Details

This class inherits a constructor from Rumember::Abstract

Instance Method Details

#paramsObject



9
10
11
# File 'lib/rumember/list.rb', line 9

def params
  {'list_id' => id}
end

#tasksObject



13
14
15
16
17
# File 'lib/rumember/list.rb', line 13

def tasks
  dispatch('tasks.getList')['tasks']['list']['taskseries'].map do |ts|
    Task.new(self, ts)
  end
end