module Classification
  class GlobalParam < Base

    def enc
      values = values_hash

      parameters = {}
      class_parameters.each do |key|
        parameters[key.to_s] = value_of_key(key, values)
      end
      parameters
    end

    protected
    def class_parameters
      @keys ||= LookupKey.global_parameters_for_class(puppetclass_ids)
    end
  end
end
