lib/things/area.rb in things-client-0.2.0 vs lib/things/area.rb in things-client-0.2.1
- old
+ new
@@ -6,9 +6,15 @@
# identifier is required for creation
identifier :area
# collection is used for findings
collection :areas
+ class << self
+ def all
+ convert(Things::App.instance.areas.get)
+ end
+ end
+
def todos
Things::Todo.convert(reference.todos.get)
end
end
\ No newline at end of file