class Cfhighlander::Dsl::Parameter
model classes
Attributes
allowed_pattern[RW]
allowed_values[RW]
constraint_description[RW]
default_value[RW]
description[RW]
is_global[RW]
max_length[RW]
max_value[RW]
min_length[RW]
min_value[RW]
name[RW]
no_echo[RW]
provided_value[RW]
type[RW]
Public Class Methods
new(params = {})
click to toggle source
# File lib/cfhighlander.dsl.params.rb, line 91 def initialize(params = {}) @no_echo = params.fetch(:noEcho, false) @name = params.fetch(:name) @type = params.fetch(:type) @default_value = params.fetch(:defaultValue) @is_global = params.fetch(:isGlobal, false) @allowed_values = params.fetch(:allowedValues, nil) @provided_value = params.fetch(:providedValue, nil) @allowed_pattern = params.fetch(:allowedPattern, nil) @max_length = params.fetch(:maxLength, nil) @max_value = params.fetch(:maxValue, nil) @min_length = params.fetch(:minLength, nil) @min_value = params.fetch(:minValue, nil) @description = params.fetch(:description, nil) @constraint_description = params.fetch(:constraintDescription, nil) end