class Convection::Model::Template::Resource::ApiGatewayMethod

AWS::ApiGateway::Method

AWS::ApiGateway::Method

Public Instance Methods

integration(&block) click to toggle source
# File lib/convection/model/template/resource/aws_api_gateway_method.rb, line 23
def integration(&block)
  i = ResourceProperty::ApiGatewayMethodIntegration.new(self)
  i.instance_exec(&block) if block
  properties['Integration'].set(i)
end
method_response(&block) click to toggle source
# File lib/convection/model/template/resource/aws_api_gateway_method.rb, line 29
def method_response(&block)
  r = ResourceProperty::ApiGatewayMethodMethodResponse.new(self)
  r.instance_exec(&block) if block
  method_responses << r
end