Sha256: 16d7e8b8ea5779c5f45656724effc9620b28267c15c11e0f6bfea28c3c6b1d98

Contents?: true

Size: 439 Bytes

Versions: 6

Compression:

Stored size: 439 Bytes

Contents

module Rubyfox
  module Client
    class Config
      def initialize(options={})
        @options = options
      end

      def host
        @options[:host] || "127.0.0.1"
      end

      def port
        @options[:port] || 9933
      end

      def debug?
        @options[:debug] || false
      end

      def udp?
        false
      end

      def bluebox?
        false
      end

      def bluebox_port
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rubyfox-client-0.3.0-java lib/rubyfox/client/config.rb
rubyfox-client-0.3.0.pre2-java lib/rubyfox/client/config.rb
rubyfox-client-0.3.0.pre1-java lib/rubyfox/client/config.rb
rubyfox-client-0.2.0-java lib/rubyfox/client/config.rb
rubyfox-client-0.1.0-java lib/rubyfox/client/config.rb
rubyfox-client-0.0.1-java lib/rubyfox/client/config.rb