Remove   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 apply() 0 3 1
A initialize() 0 4 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 PublicKey
11
            class Remove < Action
12
              attr_accessor :account
13
              attr_accessor :key
14
15
              # @param [AMA::Chef::User::Model::Account] account
16
              # @param [AMA::Chef::User::Model::PublicKey] key
17
              def initialize(account, key)
18
                @account = account
19
                @key = key
20
              end
21
22
              def apply(*)
23
                noop
24
              end
25
            end
26
          end
27
        end
28
      end
29
    end
30
  end
31
end
32