floehopper/mocha — Issue #42: Mock Clickatell API
Author: Gerhardk
Created: 2011-12-07 13:02:40+00:00
State: open

Environment:
Rails: 3.0.10
Jruby: 1.6.5(1.9.2)
Clickatell gem: 0.8.2
Mocha: 0.10.0

Is there a way to mock the Clickatell::API.

What I Need:

```ruby
Clickatell::API.authenticate('api_id', 'user', 'password') => "session_id"}>
```
Thanks