/usr/lib/ruby/vendor_ruby/octocatalog-diff/api/v1.rb is in octocatalog-diff 1.5.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | # frozen_string_literal: true
require_relative 'v1/catalog'
require_relative 'v1/catalog-compile'
require_relative 'v1/catalog-diff'
require_relative 'v1/config'
require_relative 'v1/diff'
require_relative 'v1/override'
module OctocatalogDiff
module API
# Call available methods for this version of the API
module V1
def self.catalog(options = nil)
OctocatalogDiff::API::V1::CatalogCompile.catalog(options)
end
def self.catalog_diff(options = nil)
OctocatalogDiff::API::V1::CatalogDiff.catalog_diff(options)
end
def self.config(options = nil)
OctocatalogDiff::API::V1::Config.config(options)
end
end
end
end
|