Allow passing of configuration through parameters

Closes #3
Utterly agree, that’s crap. But, that’s also a private method highly susceptible to change in the future (it most definitely will along with the multiple adapters update and so on). So this will be a bridge that will eventually be crossed. Dully noted.

---
Pedro Coelho
http://pedrocoelho.pt




On 06 Nov 2014, at 17:46, Joao Fernandes <notifications@github.com> wrote:

> In lib/chibo.rb:
> 
> >      )
> >    end
> >  
> >    module_function :heartbeat
> >  
> >    private
> > -  def adapter
> > +  def adapter(args)
> > +    riemann_args = args.fetch(:riemann) { {} }
> One of the few use cases of fetch with a block that I don't particularly enjoy seeing. But being really picky here mate 
> 
> —
> Reply to this email directly or view it on GitHub.
>