Project

General

Profile

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

runcible / lib / runcible / models / python_importer.rb @ c0df0f4c

1
module Runcible
2
  module Models
3
    class PythonImporter < Importer
4
      ID = 'python_importer'.freeze
5
      REPO_TYPE = 'python-repo'.freeze
6

    
7
      attr_accessor 'packages_names'
8

    
9
      def id
10
        PythonImporter::ID
11
      end
12

    
13
      def repo_type
14
        PythonImporter::REPO_TYPE
15
      end
16

    
17
      def config
18
        as_json
19
      end
20
    end
21
  end
22
end