Class: ApiGatewayStageParser

Inherits:
Object
  • Object
show all
Defined in:
lib/cfn-model/parser/api_gateway_stage_parser.rb

Instance Method Summary collapse

Instance Method Details

#parse(cfn_model:, resource:) ⇒ Object



9
10
11
12
13
14
15
# File 'lib/cfn-model/parser/api_gateway_stage_parser.rb', line 9

def parse(cfn_model:, resource:)
  api_stage = resource

  attach_usage_plan_to_api_stage(cfn_model: cfn_model, api_stage: api_stage)
  attach_deployment_id_to_api_stage(cfn_model: cfn_model, api_stage: api_stage)
  api_stage
end