Sha256: 58b5de2fae88988ddf9f1b151dd78588ef7b151354fdb526f596a5080d87c2af

Contents?: true

Size: 195 Bytes

Versions: 20

Compression:

Stored size: 195 Bytes

Contents

module ForemanDiscovery
  class Facts < ::ProxyAPI::Resource
    def initialize args
      @url  = args[:url] + "/facts"
      super args
    end

    def facts
      parse get
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
foreman_discovery-1.4.1 lib/foreman_discovery/facts.rb
foreman_discovery-1.4.0 lib/foreman_discovery/facts.rb
foreman_discovery-1.4.0.rc4 lib/foreman_discovery/facts.rb
foreman_discovery-1.4.0.rc3 lib/foreman_discovery/facts.rb
foreman_discovery-1.4.0.rc2 lib/foreman_discovery/facts.rb
foreman_discovery-1.4.0.rc1 lib/foreman_discovery/facts.rb
foreman_discovery-1.3.0 lib/foreman_discovery/facts.rb
foreman_discovery-1.3.0.rc3 lib/foreman_discovery/facts.rb
foreman_discovery-1.3.0.rc2 lib/foreman_discovery/facts.rb
foreman_discovery-1.3.0.rc1 lib/foreman_discovery/facts.rb
foreman_discovery-1.2.0 lib/foreman_discovery/facts.rb
foreman_discovery-1.2.0.rc2 lib/foreman_discovery/facts.rb
foreman_discovery-1.2.0.rc1 lib/foreman_discovery/facts.rb
foreman_discovery-1.1.1 lib/foreman_discovery/facts.rb
foreman_discovery-1.0.2 lib/foreman_discovery/facts.rb
foreman_discovery-1.0.0 lib/foreman_discovery/facts.rb
foreman_discovery-1.0.0.rc4 lib/foreman_discovery/facts.rb
foreman_discovery-1.0.0.rc3 lib/foreman_discovery/facts.rb
foreman_discovery-1.0.0.rc2 lib/foreman_discovery/facts.rb
foreman_discovery-1.0.0.rc1 lib/foreman_discovery/facts.rb