README.md in cas-client-0.1.2.pre.p19 vs README.md in cas-client-0.1.3
- old
+ new
@@ -20,10 +20,17 @@
$ gem install cas_client
## Usage
-TODO: Write usage instructions here
+Configure middleware from the specific environment file
+
+```ruby
+config.middleware.insert_after ActionDispatch::Session::CookieStore, Cas::Client::Middleware, {
+ server_url: "https://idpqa.americanfinancing.net",
+ extra_attributes: [:first_name, :last_name, :email, :external_id]
+}
+```
## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.