result.c use rb_attr_get instead rb_ivar_get to prevent excess warnings
result.c use rb_attr_get instead rb_ivar_get to prevent excess warnings

Change-Id: I3d1f5d39398548e51c8808fdcb33f9a8237c7718
Reviewed-on: http://review.couchbase.org/23389
Tested-by: Sergey Avseyev <87f6d5e4fd3644c3c20800cde7fd3ad1569370b3@gmail.com>
Reviewed-by: Sergey Avseyev <87f6d5e4fd3644c3c20800cde7fd3ad1569370b3@gmail.com>

dewolfe/couchbase-ruby-client,dewolfe/couchbase-ruby-client