flowcommerce / ruby-sdk

MIT License
1 stars 4 forks source link

[TEC-3472] Add client authorization by session_id #26

Open texpert opened 3 years ago

texpert commented 3 years ago

Pass the Flow Session id in the authorization header when syncing orders to flow.io

texpert commented 3 years ago

Hello, @paololim!

Thank you for review and advise!

Meanwhile, I have opened a PR to the apibuilder-generator, please, review:

https://github.com/apicollective/apibuilder-generator/pull/624

If it will happen to be acceptable, then the lib/flow_commerce/flow_api_v0_client.rb changes could be removed from the current PR, leaving only the changes to lib/flow_commerce/client.rb