Method: CloudFormer::HasPropertiesAndAttributes::ClassMethods#aws_property

Defined in:
lib/cloud_former/has_properties_and_attributes.rb

#aws_property(name, options = {}) ⇒ Object



18
19
20
21
22
# File 'lib/cloud_former/has_properties_and_attributes.rb', line 18

def aws_property(name, options={})
  @aws_properties ||= []
  @aws_properties << PropertyOrAttribute.new(name, options)
  make_aws_accessor(name, options)
end