Sha256: a6af41d046a782d5178d5a0563a4bb9338b7b5d801f9f048579bbca4be0e7bb4
Contents?: true
Size: 857 Bytes
Versions: 15
Compression:
Stored size: 857 Bytes
Contents
require 'active_support/json' require 'securerandom' module Runcible module Models class DebDistributor < Distributor #required attributes attr_accessor 'relative_url', 'http', 'https' #optional attributes attr_accessor 'auth_cert', 'auth_ca', 'https_ca', 'gpgkey', 'generate_metadata', 'checksum_type', 'skip', 'https_publish_dir', 'http_publish_dir', 'publish_default_release' def initialize(relative_url, http, https, params = {}) @relative_url = relative_url @http = http @https = https super(params) end def self.type_id 'deb_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
15 entries across 15 versions & 1 rubygems