Class: Pantry::Communication::Security::NullSecurity

Inherits:
Object
  • Object
show all
Defined in:
lib/pantry/communication/security/null_security.rb

Overview

The no-security security strategy

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.clientObject



8
9
10
# File 'lib/pantry/communication/security/null_security.rb', line 8

def self.client
  new
end

.serverObject



12
13
14
# File 'lib/pantry/communication/security/null_security.rb', line 12

def self.server
  new
end

Instance Method Details

#configure_socket(socket) ⇒ Object



20
21
22
# File 'lib/pantry/communication/security/null_security.rb', line 20

def configure_socket(socket)
  # no-op
end

#create_clientObject



24
25
26
# File 'lib/pantry/communication/security/null_security.rb', line 24

def create_client
  {}
end


16
17
18
# File 'lib/pantry/communication/security/null_security.rb', line 16

def link_to(parent)
  # no-op
end