woocommerce / wc-api-ruby

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

Provide option use_oauth to always use oauth query params #12

Closed choubacha closed 8 years ago

choubacha commented 9 years ago

@claudiosmweb

Let me know if you'd like the option to be called something else, I just make it use_oauth: true.

fixes #11 by allowing a developer to always use oauth... This won't actually work unless woocommerce checks for oauth inside an ssl context.

claudiosanches commented 8 years ago

We don't really can do it on WooCommerce. If using SSL, need to use Basic Auth.