Skip to content

Commit

Permalink
update readme with how to use and the correct namespacing for using t…
Browse files Browse the repository at this point in the history
…he gem
  • Loading branch information
stensonb committed Dec 4, 2013
1 parent 4809418 commit ff3ab63
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ff3ab63

Please sign in to comment.