Class: RBus::Auth::Dummy

Inherits:
Object
  • Object
show all
Defined in:
lib/rbus/auth/dummy.rb

Overview

This is a Dummy Auth mechanism used first to get supported mechanisms from server. It’s possible to just chance it and start with one of the other directly. Set RBus::Auth::FIRST_MECHANISM to proper class to override

Instance Method Summary collapse

Instance Method Details

#auth(data = nil) ⇒ Object



32
33
34
# File 'lib/rbus/auth/dummy.rb', line 32

def auth(data = nil)
  [nil, nil, :REJECTED]
end