class Kameleoon::Configuration::Variable

Variable class contains key / type / value of variable

def self.create_from_array(array)

def self.create_from_array(array)
  array&.map { |it| Variable.new(it) }
end

def initialize(hash)

def initialize(hash)
  @key = hash['key']
  @type = hash['type']
  @value = hash['value']
end