ac3cloud / roust

Ruby client for Request Tracker's REST API
Other
6 stars 4 forks source link

Allow custom host header #23

Closed nerdyness closed 9 years ago

nerdyness commented 9 years ago

A custom host header might not be useful for the majority of people but I do currently have a use-case for it.

Sarah-E-Greene commented 9 years ago

Looks reasonable. What do you think about setting a custom user agent as well?

nerdyness commented 9 years ago

What do you think about setting a custom user agent as well?

Never a bad idea! I'll set that up with a sensible default :+1:

I've just added some doco for this new feature as well.

nerdyness commented 9 years ago

Take another look, @Hobbsee. This attempt is much more thought out :smile:

Sarah-E-Greene commented 9 years ago

Looks good to me - thanks!

nerdyness commented 9 years ago

I've built the gem and pushed it to rubygems #ftw