for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
# frozen_string_literal: true
require_relative '../../action'
module AMA
module Chef
module User
class Action
module Account
class Remove < Action
attr_accessor :account
# @param [AMA::Chef::User::Model::Account] account
def initialize(account)
@account = account
end
def apply(resource_factory)
resource_factory.user @account.id.to_s do
action :remove
def to_s
"account[#{account.id}]:remove"