class DTK::CrdParser::ComponentDef::AttributeTypeInfo

Attributes

dynamic[R]
encrypted[R]
name[R]
required[R]
type[R]

Public Class Methods

new(params) click to toggle source
# File lib/crd_parser/component_def/attribute_type_info.rb, line 7
def initialize(params)
  @name      = params[:name]
  @type      = params[:type]
  @required  = params[:required]  || false
  @dynamic   = params[:dynamic]   || false
  @encrypted = params[:encrypted] || false
end
resolveAttr(attribute) click to toggle source
# File lib/crd_parser/component_def/attribute_type_info.rb, line 15
def self.resolveAttr(attribute)
  AttributeTypeInfo.new(attribute)
end