Sha256: c5c7bcea49a20496565c02822e0e68995388c44975db48a00b8cb9aeea8b9c9b

Contents?: true

Size: 479 Bytes

Versions: 158

Compression:

Stored size: 479 Bytes

Contents

module Katello
  module Resources
    module Candlepin
      class UpstreamPool < UpstreamCandlepinResource
        extend PoolResource

        class << self
          def get(*args)
            resource.get(*args)
          rescue RestClient::Gone
            raise Katello::Errors::UpstreamConsumerGone
          end

          def path(id = nil, owner_label = nil)
            super(id, owner_label || upstream_owner_id)
          end
        end
      end
    end
  end
end

Version data entries

158 entries across 158 versions & 1 rubygems

Version Path
katello-4.0.0.rc3 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-3.18.2.1 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-3.18.2 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-3.17.3 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-4.0.0.rc2 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-3.18.1.1 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-3.17.2 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-4.0.0.rc1 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-3.18.1 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-3.18.0 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-3.17.1 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-3.16.2 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-3.18.0.rc2.1 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-3.18.0.rc2 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-3.17.0 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-3.18.0.rc1 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-3.17.0.rc2.2 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-3.17.0.rc2.1 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-3.16.1.2 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-3.16.1.1 app/lib/katello/resources/candlepin/upstream_pool.rb