From ff3ab638817d875a4259af8b5843203bf9bee850 Mon Sep 17 00:00:00 2001 From: Bryan Stenson Date: Wed, 4 Dec 2013 06:49:24 -0800 Subject: [PATCH] update readme with how to use and the correct namespacing for using the gem --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c2158a6..ec12717 100644 --- a/README.md +++ b/README.md @@ -6,19 +6,26 @@ Ruby/NTLM provides message creator and parser for the NTLM authentication. __100% Ruby__ +How to install +-------------- + +```ruby +require 'rubyntlm' +``` + Simple Example -------------- ### Creating NTLM Type 1 message ```ruby - t1 = NTLM::Message::Type1.new() + t1 = Net::NTLM::Message::Type1.new() ``` ### Parsing NTLM Type 2 message from server ```ruby - t2 = NTLM::Message.parse(message_from_server) + t2 = Net::NTLM::Message.parse(message_from_server) ``` ### Creating NTLM Type 3 message