wicz/sisal — Issue #1: Configuration issues
Author: sandal
Created: 2012-01-29 02:00:17+00:00
State: open

Your `Sisal` module feels very overengineered :-/

I suggest moving all of its contents to a `Sisal::Configuration` object and having it look like this:

```ruby
module Sisal
class Configuration
DEFAULT = new(:providers => { :twilio => TwilioProvider,
:tropo => TropoProvider,
:clickatell => ClickatellProvider })

def initialize(params)
self.providers = params.fetch(:providers, {})
self.default_provider = params.fetch(:default, nil)
end

attr_accessor :providers, :default_provider
end
end
```