Purge   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 15
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A initialize() 0 4 1
A apply() 0 3 1
1
# frozen_string_literal: true
2
3
require_relative '../../../../action'
4
5
module AMA
6
  module Chef
7
    module User
8
      class Action
9
        module Account
10
          module PrivateKey
11
            module Remote
12
              class Purge < Action
13
                attr_accessor :account
14
                attr_accessor :private_key
15
16
                # @param [AMA::Chef::User::Model::Account] account
17
                # @param [AMA::Chef::User::Model::PrivateKey] private_key
18
                def initialize(account, private_key)
19
                  @account = account
20
                  @private_key = private_key
21
                end
22
23
                def apply(*)
24
                  noop
25
                end
26
              end
27
            end
28
          end
29
        end
30
      end
31
    end
32
  end
33
end
34