class DTK::State::ExecutableAction::AttributeTypeInfo
Attributes
dynamic[R]
encrypted[R]
name[R]
required[R]
temporal[R]
type[R]
Public Class Methods
create_from_kube_hash(kube_attributes)
click to toggle source
# File lib/state/executable_action/attribute_type_info.rb, line 16 def self.create_from_kube_hash(kube_attributes) kube_attributes.to_hash.map do |attribute_name, attribute_content| AttributeTypeInfo.new(attribute_name, attribute_content) end end
new(name, params)
click to toggle source
# File lib/state/executable_action/attribute_type_info.rb, line 7 def initialize(name, params) @name = name.to_s @type = params[:type] @required = params[:required] || false @dynamic = params[:dynamic] || false @temporal = params[:temporal] || false @encrypted = params[:encrypted] || false end