Project

General

Profile

Download (620 Bytes) Statistics
| Branch: | Tag: | Revision:

runcible / lib / runcible / extensions / rpm.rb @ a5858c9b

1
module Runcible
2
  module Extensions
3
    class Rpm < Runcible::Extensions::Unit
4
      def self.content_type
5
        'rpm'
6
      end
7

    
8
      # This function is not implemented for RPMs since they do not have content IDs
9
      def find
10
        fail NotImplementedError
11
      end
12

    
13
      # This function is not implemented for RPMs since they do not have content IDs
14
      def find_all
15
        fail NotImplementedError
16
      end
17

    
18
      # This function is not implemented for RPMs since they do not have content IDs
19
      def unassociate_ids_from_repo(repo_id, ids)
20
        fail NotImplementedError
21
      end
22
    end
23
  end
24
end