Class: Policy
- Inherits:
-
Object
- Object
- Policy
- Defined in:
- lib/cfn-model/model/policy.rb
Instance Attribute Summary collapse
-
#policy_document ⇒ Object
Returns the value of attribute policy_document.
-
#policy_name ⇒ Object
Returns the value of attribute policy_name.
Instance Method Summary collapse
Instance Attribute Details
#policy_document ⇒ Object
Returns the value of attribute policy_document.
6 7 8 |
# File 'lib/cfn-model/model/policy.rb', line 6 def policy_document @policy_document end |
#policy_name ⇒ Object
Returns the value of attribute policy_name.
6 7 8 |
# File 'lib/cfn-model/model/policy.rb', line 6 def policy_name @policy_name end |
Instance Method Details
#==(another_policy) ⇒ Object
8 9 10 11 |
# File 'lib/cfn-model/model/policy.rb', line 8 def ==(another_policy) policy_name == another_policy.policy_name && policy_document == another_policy.policy_document end |