> my_pedigree = com.familytree_v2.pedigree 'KWZF-CFW'
>
> #suggest: pedigree_instance.parent should raise perhaps?
I'm not sure what you mean. Can you explain a bit further?
> Also should the person() call include things like "personas" by
> default? Should it default to &{everything}=all?
I'd like to keep the person() call mirroring the actual web service
call.
> There currently seems to be no way to look up personas
I haven't needed that call yet, so it hasn't been implemented. Can you
add that to the Github issue tracker? I'd be happy to add it.
> For feedback sake, if one forgets to authenticate, seemingly unrelated
> errors are thrown...expected?
>
> <pre>
> $com.familytree_v2.pedigree :me
> TypeError: can't convert nil into String
Good catch. Another good issue for the issue tracker. I haven't hit
that yet, but I think it should definitely raise an exception.
What would you expect the exception to be? A
FsCommunicator::Unauthorized (like is returned on a 401)? or a new
exception like FsCommunicator::NoSession
I think that the Unauthorized exception may be good because it would
trigger the same type of action (authenticate). However, it could make
debugging a bit harder than using the more specific exception.
Thoughts?
--
Jimmy