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.15.0.rc2 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-4.15.0.rc1 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-4.14.1 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-4.14.0 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-4.14.0.rc3 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-4.14.0.rc2 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-4.14.0.rc1.1 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-4.14.0.rc1 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-4.13.1 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-4.13.0 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-4.12.1 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-4.13.0.rc1 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-4.12.0 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-4.12.0.rc3 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-4.12.0.rc2 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-4.12.0.rc1 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-4.11.1 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-4.11.0 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-4.11.0.rc2 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-4.11.0.rc1 app/lib/katello/resources/candlepin/upstream_pool.rb