Sha256: 9591069e69dcbc65b17bd4f64683d3d41ed3e1fb39d75ae8d345f8869c28fea7

Contents?: true

Size: 622 Bytes

Versions: 2

Compression:

Stored size: 622 Bytes

Contents

module Runcible
  module Extensions
    class Drpm < Runcible::Extensions::Unit
      def self.content_type
        'drpm'
      end

      # This function is not implemented for RPMs since they do not have content IDs
      def find
        fail NotImplementedError
      end

      # This function is not implemented for RPMs since they do not have content IDs
      def find_all
        fail NotImplementedError
      end

      # This function is not implemented for RPMs since they do not have content IDs
      def unassociate_ids_from_repo(repo_id, ids)
        fail NotImplementedError
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
runcible-2.13.1 lib/runcible/extensions/drpm.rb
runcible-2.13.0 lib/runcible/extensions/drpm.rb