Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[backend] introduce backend client #295

Merged
merged 4 commits into from
Mar 14, 2017
Merged

[backend] introduce backend client #295

merged 4 commits into from
Mar 14, 2017

Conversation

mikz
Copy link
Contributor

@mikz mikz commented Mar 14, 2017

Example

local backend_client = require('backend_client')

...

local service = ...

local backend = backend_client:new(service)

local res = backend:authrep({ user_key = 'foo' }, { ['usage[hits]'] = 1 })

* using http_ng
* unit tested
* authrep + oauth authrep
* extracted from 414d313
@mikz mikz requested review from mayorova and mpguerra March 14, 2017 08:27
and change the initializer to accept self
to match the documentation
@mikz mikz merged commit c6ea2e3 into master Mar 14, 2017
@mikz mikz deleted the backend-client branch March 14, 2017 09:26
@mikz mikz removed the B-current label Mar 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants