Skip to content

Commit

Permalink
Merge pull request WinRb#10 from stensonb/update-readme
Browse files Browse the repository at this point in the history
update readme with how to use and the correct namespacing for using the gem
  • Loading branch information
pmorton committed Dec 4, 2013
2 parents 4809418 + ff3ab63 commit fd51f60
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 fd51f60

Please sign in to comment.