Class: Awspec::Generator::Doc::Type::IamRole

Inherits:
Base
  • Object
show all
Defined in:
lib/awspec/generator/doc/type/iam_role.rb

Instance Method Summary collapse

Methods inherited from Base

#collect_matchers, #doc_template, #generate_doc, #sort_num, #type_name

Constructor Details

#initializeIamRole

Returns a new instance of IamRole.



5
6
7
8
9
10
11
12
13
# File 'lib/awspec/generator/doc/type/iam_role.rb', line 5

def initialize
  super
  @type_name = 'IamRole'
  @type = Awspec::Type::IamRole.new('my-iam-role')
  @ret = @type.resource_via_client
  @matchers = %w(be_allowed_action)
  @ignore_matchers = []
  @describes = []
end