Sha256: 072972b566b0579fc5bb47abbb7eff5210cd1c1edb477bca337ab67ccccb1ff4

Contents?: true

Size: 478 Bytes

Versions: 12

Compression:

Stored size: 478 Bytes

Contents

require 'active_support/json'
require 'securerandom'

module Runcible
  module Models
    class OstreeDistributor < Distributor
      attr_accessor 'ostree_publish_directory', 'relative_path'

      def initialize(params = {})
        super(params)
      end

      def self.type_id
        'ostree_web_distributor'
      end

      def config
        to_ret = as_json
        to_ret.delete('auto_publish')
        to_ret.delete('id')
        to_ret
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
runcible-1.9.3 lib/runcible/models/ostree_distributor.rb
runcible-1.9.2 lib/runcible/models/ostree_distributor.rb
runcible-1.9.1 lib/runcible/models/ostree_distributor.rb
runcible-1.9.0 lib/runcible/models/ostree_distributor.rb
runcible-1.8.0 lib/runcible/models/ostree_distributor.rb
runcible-1.7.2 lib/runcible/models/ostree_distributor.rb
runcible-1.7.1 lib/runcible/models/ostree_distributor.rb
runcible-1.7.0 lib/runcible/models/ostree_distributor.rb
runcible-1.6.0 lib/runcible/models/ostree_distributor.rb
runcible-1.5.1 lib/runcible/models/ostree_distributor.rb
runcible-1.5.0 lib/runcible/models/ostree_distributor.rb
runcible-1.4.0 lib/runcible/models/ostree_distributor.rb