bbc / alephant-broker

Brokers requests for alephant components
MIT License
4 stars 3 forks source link

[REVIEW] Add raw query string option #19

Closed stevenjack closed 10 years ago

stevenjack commented 10 years ago

haha_ticket_man

Problem

Currently a parsed hash of the query string options is passed into the url generator, we need it to be able to access the raw query string as in a consuming application we need to be able to take advantage of the array notation in a query string that isn't accounted for in the options method in component_meta.rb.

Solution

We pass the raw query string into the component meta and move the options method out of environment.rb and add another method raw_options that allow us to access the raw query string.

revett commented 10 years ago

:cake: