class Iglu::Registries::RegistryRefConfig

Attributes

name[R]
priority[R]
vendor_prefixes[R]

Public Class Methods

new(name, priority, vendor_prefixes) click to toggle source
# File lib/iglu-client/registries.rb, line 8
def initialize(name, priority, vendor_prefixes)
  @name = name
  @priority = priority
  @vendor_prefixes = vendor_prefixes
end
parse(config) click to toggle source
# File lib/iglu-client/registries.rb, line 14
def self.parse(config)
  RegistryRefConfig.new config[:name], config[:priority], config[:vendorPrefixes]
end