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

Change IZencoderClient.createJob to return domain object instead of raw server response #6

Open
aleksey-korolev opened this issue Sep 10, 2012 · 1 comment

Comments

@aleksey-korolev
Copy link
Contributor

For convenience of API users it would be nice to have IZencoderClient.createJob return ZencoderJob instead of raw xml Document.
PHP API implementation from zencoder may be used as example.
Raw response (xml document or Json string) may be saved inside ZencoderJob (for example for the case when server response is extended but API implementation is not updated yet).
It is possible to update and return ZencoderJob that was passed to createJob method or construct and fill a new instance.

@drallgood
Copy link
Contributor

Actually a good idea. Don't know when I'll have time for it, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants