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

Version Path
dryad-core-0.3.0 lib/dryad/core/portal.rb
dryad-core-0.2.7 lib/dryad/core/portal.rb
dryad-core-0.2.6 lib/dryad/core/portal.rb
dryad-0.2.5 dryad-core/lib/dryad/core/portal.rb
dryad-core-0.2.5 lib/dryad/core/portal.rb
dryad-0.2.3 dryad-core/lib/dryad/core/portal.rb
dryad-core-0.2.3 lib/dryad/core/portal.rb
dryad-0.2.1 dryad-core/lib/dryad/core/portal.rb
dryad-core-0.2.1 lib/dryad/core/portal.rb
dryad-0.2.0 dryad-core/lib/dryad/core/portal.rb
dryad-core-0.2.0 lib/dryad/core/portal.rb
dryad-0.1.1 dryad-core/lib/dryad/core/portal.rb
dryad-core-0.1.1 lib/dryad/core/portal.rb
dryad-0.1.0 dryad-core/lib/dryad/core/portal.rb
dryad-core-0.1.0 lib/dryad/core/portal.rb