Sha256: f7ff97d612a3a73fd8a5535e9755244b165513d1bfd38422fdd545cf011a2def
Contents?: true
Size: 370 Bytes
Versions: 1
Compression:
Stored size: 370 Bytes
Contents
require "torrific/version" require 'tor' module Torrific class TorControl < ::Tor::Controller attr_accessor :password def initialize(options) self.password = options.fetch(:password) { nil } super options end def change_ip self.authenticate self.password send_command(:signal, 'NEWNYM') self.close end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
torrific-0.0.1 | lib/torrific.rb |