count(id, type, scope = Amico.default_scope_key)and
page_count(id, type, page_size = Amico.page_size, scope = Amico.default_scope_key)as convenience methods for retrieving the count or the page count for the various types of relationships.
Amico.all(id, type, scope)to retrieve all of the individuals for a given id, type (e.g. following) and scope. Thanks to @mettadore for the initial code and inspiration.
- Clarified parameters in following, followers, blocked, reciprocated, and pending calls.
scopeparameter to all of the methods to allow you to scope the calls to express relationships for different types of things
- Added pending to relationships
- Added blocking to relationships
- Added reciprocated to relationships
- Initial release