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

Already on GitHub? Sign in to your account

Expose id() and type() in doc classes #5

clintongormley opened this Issue Aug 6, 2012 · 0 comments


None yet
1 participant

clintongormley commented Aug 6, 2012

You can get the id etc from


but it'd be convenient to expose id and type directly in the doc. Add them as ordinary methods to Elastic::Model::Role::Doc so that they can be renamed when importing

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