Class: Swa::IAM::Policy
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
Methods inherited from Resource
#data, delegate, #initialize, list
Constructor Details
This class inherits a constructor from Swa::Resource
Instance Method Details
#document ⇒ Object
16 17 18 |
# File 'lib/swa/iam/policy.rb', line 16 def document CGI.unescape(policy.default_version.document) end |
#summary ⇒ Object
9 10 11 12 13 14 |
# File 'lib/swa/iam/policy.rb', line 9 def summary [ pad(policy.arn, 60), quoted(policy.description) ].join(" ") end |