Class: CloudFormer::NumberParameter

Inherits:
Parameter
  • Object
show all
Defined in:
lib/cloud_former/parameters/number_parameter.rb

Instance Attribute Summary

Attributes inherited from Parameter

#type

Instance Method Summary collapse

Methods inherited from Parameter

#get_name

Methods included from MakesJson

#dump_json, included

Methods included from HasPropertiesAndAttributes

included, #nested_resources, #resource_tree

Constructor Details

#initialize(name) ⇒ NumberParameter

Returns a new instance of NumberParameter.



4
5
6
7
# File 'lib/cloud_former/parameters/number_parameter.rb', line 4

def initialize(name)
  super(name)
  @type = 'Number'
end