Sha256: 991c72811262ae2b1d1965bea0ed36c3ee4859de472582d12be2c039f7b4d81b

Contents?: true

Size: 404 Bytes

Versions: 12

Compression:

Stored size: 404 Bytes

Contents

# frozen_string_literal: true

module Nonnative
  class ConfigurationServer
    attr_accessor :name, :klass, :timeout, :port, :log
    attr_reader :proxy

    def initialize
      @proxy = Nonnative::ConfigurationProxy.new
    end

    def proxy=(value)
      proxy.type = value[:type]
      proxy.port = value[:port]
      proxy.log = value[:log]
      proxy.options = value[:options]
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
nonnative-1.40.0 lib/nonnative/configuration_server.rb
nonnative-1.39.0 lib/nonnative/configuration_server.rb
nonnative-1.38.0 lib/nonnative/configuration_server.rb
nonnative-1.37.0 lib/nonnative/configuration_server.rb
nonnative-1.36.0 lib/nonnative/configuration_server.rb
nonnative-1.34.0 lib/nonnative/configuration_server.rb
nonnative-1.31.0 lib/nonnative/configuration_server.rb
nonnative-1.30.0 lib/nonnative/configuration_server.rb
nonnative-1.29.0 lib/nonnative/configuration_server.rb
nonnative-1.28.0 lib/nonnative/configuration_server.rb
nonnative-1.27.0 lib/nonnative/configuration_server.rb
nonnative-1.26.0 lib/nonnative/configuration_server.rb