Completed
Push — dev ( 36eb97...6cb2fc )
by Fike
01:01
created

Enumerator.enumerate()   A

Complexity

Conditions 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 3
rs 10
cc 1
1
# frozen_string_literal: true
2
3
# rubocop:disable Lint/UnusedMethodArgument
4
5
require_relative 'interface'
6
7
module AMA
8
  module Entity
9
    class Mapper
10
      module API
11
        # This special interface exists as a way for Mapper to non-directly
12
        # fetch all possible entity attributes
13
        class Enumerator < Interface
14
          # :nocov:
15
          # Enumerates entity attributes
16
          #
17
          # @param [Object] entity
18
          # @param [AMA::Entity::Mapper::Type] type
19
          # @param [AMA::Entity::Mapper::Context] context
20
          def enumerate(entity, type, context = nil)
21
            abstract_method
22
          end
23
          # :nocov:
24
        end
25
      end
26
    end
27
  end
28
end
29