Project

General

Profile

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

runcible / lib / runcible / models / ostree_importer.rb @ 524638e4

1
module Runcible
2
  module Models
3
    class OstreeImporter < Importer
4
      ID = 'ostree_web_importer'.freeze
5
      REPO_TYPE = 'OSTREE'.freeze
6

    
7
      attr_accessor 'branches', 'depth'
8

    
9
      def id
10
        OstreeImporter::ID
11
      end
12

    
13
      def repo_type
14
        OstreeImporter::REPO_TYPE
15
      end
16

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