Skip to content

Commit

Permalink
Fix a code block in the README
Browse files Browse the repository at this point in the history
One of the code blocks needed to be wrapped so markdown
would render it appropriately.  This takes care of that.
  • Loading branch information
Josh Adams committed Feb 27, 2013
1 parent 3fe7644 commit 80e3729
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,12 @@ What's left at this point, is to wrap it all up in a controller and point the in
If are using saml:AttributeStatement to transfare metadata, like the user name, you can access all the attributes through response.attributes. It
contains all the saml:AttributeStatement with its 'Name' as a indifferent key and the one saml:AttributeValue as value.

```ruby
response = Onelogin::Saml::Response.new(params[:SAMLResponse])
response.settings = saml_settings

response.attributes[:username]
```

## Service Provider Metadata

Expand Down

0 comments on commit 80e3729

Please sign in to comment.