Sha256: 1dc4c1450dc663f746a712a4f6e4a7a89deb5305b77e577955a36180831d15a9

Contents?: true

Size: 1.08 KB

Versions: 8

Compression:

Stored size: 1.08 KB

Contents

module Socialization
  module RedisStores
    class Follow < Socialization::RedisStores::Base
      extend Socialization::Stores::Mixins::Base
      extend Socialization::Stores::Mixins::Follow
      extend Socialization::RedisStores::Mixins::Base

      class << self
        alias_method :follow!, :relation!;                          public :follow!
        alias_method :unfollow!, :unrelation!;                      public :unfollow!
        alias_method :follows?, :relation?;                         public :follows?
        alias_method :followers_relation, :actors_relation;         public :followers_relation
        alias_method :followers, :actors;                           public :followers
        alias_method :followables_relation, :victims_relation;      public :followables_relation
        alias_method :followables, :victims;                        public :followables
        alias_method :remove_followers, :remove_actor_relations;    public :remove_followers
        alias_method :remove_followables, :remove_victim_relations; public :remove_followables
      end

    end
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
socialization-1.2.2 lib/socialization/stores/redis/follow.rb
socialization-1.2.1 lib/socialization/stores/redis/follow.rb
twrk-socialization-1.2.0 lib/socialization/stores/redis/follow.rb
twrk-socialization-0.0.1 lib/socialization/stores/redis/follow.rb
socialization-1.2.0 lib/socialization/stores/redis/follow.rb
socialization-1.1.0 lib/socialization/stores/redis/follow.rb
socialization-1.0.0 lib/socialization/stores/redis/follow.rb
socialization-0.5.0.beta4 lib/socialization/stores/redis/follow.rb