Class: Jets::Cfn::Builder::Api::Base

Inherits:
Object
  • Object
show all
Extended by:
Memoist
Includes:
AwsServices, Interface
Defined in:
lib/jets/cfn/builder/api/base.rb

Direct Known Subclasses

Deployment, Gateway, Mapping, Paged

Instance Method Summary collapse

Methods included from AwsServices

#apigateway, #aws_lambda, #aws_options, #cfn, #dynamodb, #logs, #s3, #s3_resource, #sns, #sqs, #sts

Methods included from AwsServices::StackStatus

#lookup, #stack_exists?, #stack_in_progress?

Methods included from AwsServices::GlobalMemoist

included

Methods included from Interface

#add_description, #add_output, #add_outputs, #add_parameter, #add_parameters, #add_resource, #add_resources, #add_template_resource, #build, #build?, #template, #text, #write

Methods included from Util::Camelize

#camelize

Constructor Details

#initialize(options = {}) ⇒ Base

Returns a new instance of Base.



7
8
9
10
# File 'lib/jets/cfn/builder/api/base.rb', line 7

def initialize(options={})
  @options = options
  @template = ActiveSupport::HashWithIndifferentAccess.new(Resources: {})
end