ManageIQ/manageiq-ui-classic

View on GitHub
app/helpers/application_helper/button/vm_retire.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
class ApplicationHelper::Button::VmRetire < ApplicationHelper::Button::Basic
  needs :@record

  def visible?
    @record.supports?(:retire)
  end

  def disabled?
    false
  end
end