15 16 17 18 19
# File 'lib/ubalo/task.rb', line 15 def refresh! update_attributes(request(:get)) rescue RestClient::ResourceNotFound raise Ubalo::Error, "Could not find task #{label.inspect}" end