Class: Cumulus::IAM::UserConfig
- Inherits:
-
ResourceWithPolicy
- Object
- ResourceWithPolicy
- Cumulus::IAM::UserConfig
- Defined in:
- lib/iam/models/UserConfig.rb
Overview
Public: Represents a config file for a user. Lazily loads its static and template policies as needed.
Instance Attribute Summary
Attributes inherited from ResourceWithPolicy
#attached_policies, #inlines, #name, #statics, #type
Instance Method Summary collapse
-
#initialize(name = nil, json = nil) ⇒ UserConfig
constructor
Public: Constructor.
Methods inherited from ResourceWithPolicy
#diff, #generated_policy_name, #hash, #json, #policy
Constructor Details
#initialize(name = nil, json = nil) ⇒ UserConfig
Public: Constructor
name - the name of the user json - the Hash containing the JSON configuration for this UserConfig, if
nil, this will be an "empty UserConfig"
14 15 16 17 |
# File 'lib/iam/models/UserConfig.rb', line 14 def initialize(name = nil, json = nil) super(name, json) @type = "user" end |