Sha256: 8c2296b428e1db15a1cdd42862a516a516a537a44222944fb5f18a69c6d313b2

Contents?: true

Size: 351 Bytes

Versions: 10

Compression:

Stored size: 351 Bytes

Contents

require "cgi"
require "swa/resource"

module Swa
  module IAM

    class RolePolicy < Resource

      def name
        role_policy.name
      end

      def summary
        name
      end

      def document
        CGI.unescape(role_policy.policy_document)
      end

      private

      alias_method :role_policy, :aws_resource

    end

  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
swa-0.8.3 lib/swa/iam/role_policy.rb
swa-0.8.2 lib/swa/iam/role_policy.rb
swa-0.8.1 lib/swa/iam/role_policy.rb
swa-0.8.0 lib/swa/iam/role_policy.rb
swa-0.7.7 lib/swa/iam/role_policy.rb
swa-0.7.6 lib/swa/iam/role_policy.rb
swa-0.7.5 lib/swa/iam/role_policy.rb
swa-0.7.4 lib/swa/iam/role_policy.rb
swa-0.7.3 lib/swa/iam/role_policy.rb
swa-0.7.2 lib/swa/iam/role_policy.rb