Closed rickychilcott closed 10 years ago
Hey @mattt Do you think this is a good addition?
@rickychilcott Not especially. Specific configuration should be done with environment variables, so init arguments are not a pattern I'd wish to advocate. If you really need this kind of customization, attributes can be accessed directly after creation.
Thanks for reviewing @mattt I'm familiar with 12factor and try to use it where possible. Since we're using Houston::Client as a library and less as a cli tool, I figured we'd try. I'll end up creating a client and then changing attributes after init. Thanks for looking and giving feedback.
We have a need to be able to initialize a Houston::Client with specific options and would like the ability to pass options in. Currently, it only allows you to rely on ENV variables.
This commit does not break that existing functionality.