Merge branch '11644-mounts-api'
[arvados.git] / apps / workbench / app / models / api_client_authorization.rb
index 620ebc7b9600b8ea777cf869874f0f4f45d3d71c..6d1558cc6eb28438003b2599571679370eb6b845 100644 (file)
@@ -1,6 +1,6 @@
 class ApiClientAuthorization < ArvadosBase
-  def attribute_editable?(attr)
-    ['expires_at', 'default_owner_uuid'].index attr
+  def editable_attributes
+    %w(expires_at default_owner_uuid)
   end
   def self.creatable?
     false