Class: Awspec::Generator::Doc::Type::Lambda

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

Instance Method Summary collapse

Methods inherited from Base

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

Constructor Details

#initializeLambda

Returns a new instance of Lambda.



7
8
9
10
11
12
13
14
15
# File 'lib/awspec/generator/doc/type/lambda.rb', line 7

def initialize
  super
  @type_name = 'Lambda'
  @type = Awspec::Type::Lambda.new('my-lambda-function-name')
  @ret = @type.resource_via_client
  @matchers = %w[have_env_var have_env_vars]
  @ignore_matchers = []
  @describes = []
end