Class: Awspec::Generator::Doc::Type::Lambda
- Defined in:
- lib/awspec/generator/doc/type/lambda.rb
Instance Method Summary collapse
-
#initialize ⇒ Lambda
constructor
A new instance of Lambda.
Methods inherited from Base
#collect_matchers, #doc_template, #generate_doc, #sort_num, #type_name
Constructor Details
#initialize ⇒ Lambda
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 |