woocommerce / wc-api-ruby

A Ruby wrapper for the WooCommerce API.
MIT License
69 stars 73 forks source link

allow headers option #48

Open iantance opened 4 years ago

iantance commented 4 years ago

We wanted to set a custom User-Agent header for our API calls and noticed that setting custom headers of any kind was impossible currently.

Updates to honor a headers hash to be passed in along with the other httparty_args.