Module: NTLM::Serializer

Included in:
Authenticate, Challenge
Defined in:
lib/stub-ntlm-helper.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



20
21
22
# File 'lib/stub-ntlm-helper.rb', line 20

def self.included klass
  klass.extend ClassMethods
end

Instance Method Details

#encodeObject



24
25
26
# File 'lib/stub-ntlm-helper.rb', line 24

def encode
  Base64.encode64(to_binary_s).tr "\n", ""
end