-
Notifications
You must be signed in to change notification settings - Fork 10
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
Class methods should return objects with expected classes #103
Comments
Hi @ronaldtse, we are parsing any response to We can change it to return an Actual class but then we have to specify every attribute in each of our classes, we can try to do that now but I feel like that might be lot of headache to mange whenever there is a change in Digicert response. Personally, I feel that the path we will take once this client is little bit stable. Please let me know your thoughts |
@abunashir that's fine. We should probably implement certificate = Digicert::Order.all.first.certificate
duplicated_certificate = Digicert::Order.all.first.duplicates.certificate |
@abunashir the client seems stable enough to move forward with this. What do you think? |
@ronaldtse: Yap, that's on the top of the list right now. We are in a pretty much stable situation and I am hoping to move away from |
Hi @abunashir ,
When I was testing out the code I noticed that some responses do not return properly 'classed' objects.
For example,
But the expectation of someone running this should be
Digicert::Product
.Could you help go through the code and see which calls are returning the generic
ResponseObject
and give them the proper classes?Thanks!
The text was updated successfully, but these errors were encountered: