Sha256: b8c9d24bef74e3a0f7581959c5e6fdcc8e87ab435eb589a038d384953eed64c2
Contents?: true
Size: 487 Bytes
Versions: 15
Compression:
Stored size: 487 Bytes
Contents
require 'securerandom' module Dryad module Core class Portal attr_accessor :id, :schema, :port, :pattern, :check, :non_certifications DEFAULT_OPTIONS = { :non_certifications => [] } def initialize(options = DEFAULT_OPTIONS) @id = SecureRandom.uuid @schema = options[:schema] @port = options[:port] @pattern = options[:pattern] @non_certifications = options[:non_certifications] end end end end
Version data entries
15 entries across 15 versions & 2 rubygems