Module: Interest

Defined in:
lib/interest.rb,
lib/interest/base.rb,
lib/interest/utils.rb,
lib/interest/version.rb,
lib/interest/blockable.rb,
lib/interest/exception.rb,
lib/interest/definition.rb,
lib/interest/followable.rb,
lib/interest/blockable/blockee.rb,
lib/interest/blockable/blocker.rb,
lib/interest/blockable/blocking.rb,
lib/interest/follow_requestable.rb,
lib/interest/followable/followee.rb,
lib/interest/followable/follower.rb,
lib/interest/blockable/exceptions.rb,
lib/interest/followable/following.rb,
lib/interest/followable/exceptions.rb,
lib/interest/follow_requestable/exceptions.rb,
lib/interest/follow_requestable/follow_request.rb,
lib/interest/follow_requestable/follow_requestee.rb,
lib/interest/follow_requestable/follow_requester.rb

Defined Under Namespace

Modules: Base, Blockable, Definition, Extension, FollowRequestable, Followable, Utils Classes: Exception

Constant Summary collapse

VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

.blocking_classObject



43
44
45
# File 'lib/interest.rb', line 43

def blocking_class
  @blocking_class ||= blocking_class_name.constantize
end

.blocking_class_nameObject



39
40
41
# File 'lib/interest.rb', line 39

def blocking_class_name
  "::Blocking"
end

.following_classObject



35
36
37
# File 'lib/interest.rb', line 35

def following_class
  @following_class ||= following_class_name.constantize
end

.following_class_nameObject



31
32
33
# File 'lib/interest.rb', line 31

def following_class_name
  "::Following"
end