Sha256: 24134f46e0d1219397f70fe1bbbb7c912faeb045a77b98f463f2d59057af4249

Contents?: true

Size: 1.09 KB

Versions: 4

Compression:

Stored size: 1.09 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, :subjects_relation;      public :followables_relation
        alias_method :followables, :subjects;                        public :followables
        alias_method :remove_followers, :remove_actor_relations;     public :remove_followers
        alias_method :remove_followables, :remove_subject_relations; public :remove_followables
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
socialization-2.0.2 lib/socialization/stores/redis/follow.rb
socialization-2.0.1 lib/socialization/stores/redis/follow.rb
socialization-2.0.0 lib/socialization/stores/redis/follow.rb
socialization-1.2.3 lib/socialization/stores/redis/follow.rb