Sha256: d16b4b7b4d0cc0ad32e471dcc7a10dc3bf38a0a388b048888c2ba43c947e624f

Contents?: true

Size: 285 Bytes

Versions: 6

Compression:

Stored size: 285 Bytes

Contents

module Transmission
  class Config
    class << self
      def set(options = {})
        @@config = options
        @@connector = Transmission::RPC.new @@config
      end

      def get
        @@config
      end

      def get_connector
        @@connector
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
transmission-rpc-ruby-0.4.0 lib/transmission/config.rb
transmission-rpc-ruby-0.3.1 lib/transmission/config.rb
transmission-rpc-ruby-0.3.0 lib/transmission/config.rb
transmission-rpc-ruby-0.2.1 lib/transmission/config.rb
transmission-rpc-ruby-0.2.0 lib/transmission/config.rb
transmission-rpc-ruby-0.1.0 lib/transmission/config.rb