Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

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

Closed
clintongormley opened this Issue August 06, 2012 · 0 comments

1 participant

Clinton Gormley
Clinton Gormley

You can get the id etc from

$doc->uid->id

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

Clinton Gormley clintongormley closed this issue from a commit August 14, 2012
Clinton Gormley Added id() and type() convenience methods on Elastic::Model::Role::Doc
which call the equivalent method on the doc's UID

Fixes #5
1d460a0
Clinton Gormley clintongormley closed this in 1d460a0 August 14, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.