local-ch / lhc

🚀 Advanced HTTP Client for Ruby. Fueled with interceptors.
GNU General Public License v3.0
43 stars 1 forks source link

[PRO-1186] More auth options #180

Closed ryabrody closed 4 years ago

ryabrody commented 4 years ago

Ticket: https://jira.localsearch.ch/browse/PRO-1186

Introduce two new Auth options which are used to make API Calls against the Mono API for creating One-Click Sites.

About the auth in the body: I could not introduce a method body to the Request as the body-options on raw is a json string and the body on the options is a hash. So i concentrated on the raw as this is also used in the end for doing the actual request. Any optimizations tips are very welcome. 🙏🏻

10xSebastian commented 4 years ago

alternative suggestion: https://github.com/local-ch/lhc/pull/181

10xSebastian commented 4 years ago

replaced by https://github.com/local-ch/lhc/pull/181