Class: Cumulus::IAM::PolicyUnifier::Instance

Inherits:
Object
  • Object
show all
Defined in:
lib/iam/migration/PolicyUnifier.rb

Overview

the following inner classes are used to keep track of whether we’ve seen a policy before. ‘SingleInstance` and `MultipleInstances` both extend `Instance`, as both of them have a `name` attribute.

Direct Known Subclasses

MultipleInstances, SingleInstance

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ Instance

Returns a new instance of Instance.



16
17
18
# File 'lib/iam/migration/PolicyUnifier.rb', line 16

def initialize(name)
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



15
16
17
# File 'lib/iam/migration/PolicyUnifier.rb', line 15

def name
  @name
end