Sha256: 86da451ec3bb7e3b4ac8f86f70bc19ab62d34b77e5bdae8c6fdf71d24758385e
Contents?: true
Size: 627 Bytes
Versions: 191
Compression:
Stored size: 627 Bytes
Contents
module Katello module Resources module Candlepin class Entitlement < CandlepinResource class << self def regenerate_entitlement_certificates_for_product(product_id) self.put("/candlepin/entitlements/product/#{product_id}", nil, self.default_headers).code.to_i end def get(id = nil, params = '') json = Candlepin::CandlepinResource.get(path(id) + params, self.default_headers).body JSON.parse(json) end def path(id = nil) "/candlepin/entitlements/#{id}" end end end end end end
Version data entries
191 entries across 191 versions & 1 rubygems