class Fog::Tasks::Wunderlist::List
Public Instance Methods
destroy()
click to toggle source
# File lib/fog/wunderlist/models/tasks/list.rb, line 19 def destroy requires :id service.delete_list(id) true end
save()
click to toggle source
# File lib/fog/wunderlist/models/tasks/list.rb, line 25 def save requires :title if identity update else merge_attributes( service.create_list(title, attributes).body ) end true end
update()
click to toggle source
# File lib/fog/wunderlist/models/tasks/list.rb, line 37 def update requires :id merge_attributes( service.update_list(id, attributes).body ) end