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.7.1 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-4.6.2.1 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-4.6.2 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-4.7.0 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-4.6.1 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-4.7.0.rc2 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-4.7.0.rc1 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-4.4.2.2 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-4.4.2.1 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-4.4.2 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-4.5.1 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-4.6.0 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-4.6.0.rc2 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-4.6.0.rc1 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-4.5.0 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-4.5.0.rc2 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-4.4.1 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-4.5.0.rc1 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-4.4.0.2 app/lib/katello/resources/candlepin/upstream_pool.rb
katello-4.4.0.1 app/lib/katello/resources/candlepin/upstream_pool.rb