Sha256: 9cb4d45d6d0f59424f7660099620911fa48f063c6d8fbf4d7990a387f6394b4a
Contents?: true
Size: 732 Bytes
Versions: 35
Compression:
Stored size: 732 Bytes
Contents
require 'active_support/json' require 'securerandom' module Runcible module Models class NodesHttpDistributor < Distributor # Instantiates an nodes distributor # # @param [Hash] params Distributor options # @return [Runcible::Extensions::NodesHttpDistributor] def initialize(params) super(params) end # Distributor Type id # # @return [string] def self.type_id 'nodes_http_distributor' end # generate the pulp config for the nodes distributor # # @return [Hash] def config to_ret = as_json to_ret.delete('auto_publish') to_ret.delete('id') to_ret end end end end
Version data entries
35 entries across 35 versions & 1 rubygems