Sha256: 0152a871c591e9405d5d47aa27b6d32918402817f90cd2464bc57387e65a8719

Contents?: true

Size: 1.04 KB

Versions: 8

Compression:

Stored size: 1.04 KB

Contents

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

      class << self
        alias_method :like!, :relation!;                          public :like!
        alias_method :unlike!, :unrelation!;                      public :unlike!
        alias_method :likes?, :relation?;                         public :likes?
        alias_method :likers_relation, :actors_relation;          public :likers_relation
        alias_method :likers, :actors;                            public :likers
        alias_method :likeables_relation, :victims_relation;      public :likeables_relation
        alias_method :likeables, :victims;                        public :likeables
        alias_method :remove_likers, :remove_actor_relations;     public :remove_likers
        alias_method :remove_likeables, :remove_victim_relations; public :remove_likeables
      end

    end
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

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