Sha256: 7f017a91ca6c1ea8b0842c878a42c3d0f11e6b133a263b048a832c7ac4051de8
Contents?: true
Size: 462 Bytes
Versions: 10
Compression:
Stored size: 462 Bytes
Contents
# frozen_string_literal: true require 'json' module OctocatalogDiff class Catalog # Represents a null Puppet catalog. class Noop attr_accessor :node attr_reader :error_message, :catalog, :catalog_json # Constructor def initialize(options) @catalog_json = '{"resources":[]}' @catalog = { 'resources' => [] } @error_message = nil @node = options.fetch(:node, 'noop') end end end end
Version data entries
10 entries across 10 versions & 1 rubygems