trineo/jira-ruby — pull request #36 by kenmazaika (2012-12-11 19:31:41+00:00)
Title: Update example.rb

The old example.rb as out of date, as the initializer for `JIRA::Client` used to expect 3 arguments, a key, a secret, and options, and now all the data in the options.

The following error used to occur when running the example file:

```
/Users/kmazaika/source/jira-ruby/lib/jira/client.rb:54:in `initialize': wrong number of arguments (3 for 1) (ArgumentError)
from example.rb:10:in `new'
from example.rb:10:in `

'
```

This is fixed by using passing the arguments through the options hash.