Class: Height::Model::List
- Inherits:
-
Base
- Object
- Base
- Height::Model::List
show all
- Defined in:
- lib/height/model/list.rb
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#attributes ⇒ Object
3
4
5
|
# File 'lib/height/model/list.rb', line 3
def attributes
[:id, :type, :key, :description, :url, :appearence]
end
|
#tasks ⇒ Object
7
8
9
10
11
12
13
14
15
|
# File 'lib/height/model/list.rb', line 7
def tasks
filters = {
"listIds" => {
"values" => [id]
}
}
Height::API::Tasks.search(filters)
end
|