def unfollow(from_id, to_id, scope = Amico.default_scope_key)
      return if from_id == to_id

      Amico.redis.multi do
        Amico.redis.zrem("#{Amico.namespace}:#{Amico.following_key}:#{scope}:#{from_id}", to_id)
        Amico.redis.zrem("#{Amico.namespace}:#{Amico.followers_key}:#{scope}:#{to_id}", from_id)
        Amico.redis.zrem("#{Amico.namespace}:#{Amico.reciprocated_key}:#{scope}:#{from_id}", to_id)
        Amico.redis.zrem("#{Amico.namespace}:#{Amico.reciprocated_key}:#{scope}:#{to_id}", from_id)
        Amico.redis.zrem("#{Amico.namespace}:#{Amico.pending_key}:#{scope}:#{to_id}", from_id)
        Amico.redis.zrem("#{Amico.namespace}:#{Amico.pending_with_key}:#{scope}:#{from_id}", to_id)
      end
    end
def unfollow(from_id, to_id, scope = Amico.default_scope_key)
      return if from_id == to_id

      Amico.redis.multi do
        Amico.redis.zrem("#{Amico.namespace}:#{Amico.following_key}:#{scope}:#{from_id}", to_id)
        Amico.redis.zrem("#{Amico.namespace}:#{Amico.followers_key}:#{scope}:#{to_id}", from_id)
        Amico.redis.zrem("#{Amico.namespace}:#{Amico.reciprocated_key}:#{scope}:#{from_id}", to_id)
        Amico.redis.zrem("#{Amico.namespace}:#{Amico.reciprocated_key}:#{scope}:#{to_id}", from_id)
        Amico.redis.zrem("#{Amico.namespace}:#{Amico.pending_key}:#{scope}:#{to_id}", from_id)
        Amico.redis.zrem("#{Amico.namespace}:#{Amico.pending_with_key}:#{scope}:#{from_id}", to_id)
      end
    end
def unfollow ( from_id , to_id , scope = Amico . default_scope_key ) return if from_id == to_id Amico . redis . multi do Amico . redis . zrem ( "#{Amico.namespace}:#{Amico.following_key}:#{scope}:#{from_id}" , to_id ) Amico . redis . zrem ( "#{Amico.namespace}:#{Amico.followers_key}:#{scope}:#{to_id}" , from_id ) Amico . redis . zrem ( "#{Amico.namespace}:#{Amico.reciprocated_key}:#{scope}:#{from_id}" , to_id ) Amico . redis . zrem ( "#{Amico.namespace}:#{Amico.reciprocated_key}:#{scope}:#{to_id}" , from_id ) Amico . redis . zrem ( "#{Amico.namespace}:#{Amico.pending_key}:#{scope}:#{to_id}" , from_id ) Amico . redis . zrem ( "#{Amico.namespace}:#{Amico.pending_with_key}:#{scope}:#{from_id}" , to_id ) end end
Remove a follow relationship between two IDs. After removing the follow
 relationship, if a reciprocated relationship was established, it is
 also removed.

 @param from_id [String] The ID of the individual removing the follow relationship.
 @param to_id [String] The ID of the individual to be unfollowed.
 @param scope [String] Scope for the call.

 Examples

   Amico.follow(1, 11)
   Amico.unfollow(1, 11)
Remove a follow relationship between two IDs . After removing the follow relationship if a reciprocated relationship was established it is also removed .