class ActiveAws::CloudFormation::Template::Parameter::Collection

Public Instance Methods

add(name, type, options = {}) click to toggle source
# File lib/active_aws/cloud_formation/template/parameter.rb, line 27
def add(name, type, options = {})
  Parameter.new(options.merge({name: name, type: type})).tap { |parameter| push parameter }
end
to_h() click to toggle source
# File lib/active_aws/cloud_formation/template/parameter.rb, line 42
def to_h
  each_with_object({}) {|parameter, h| h[parameter.name] = parameter.to_h }
end