Class: Interest::FollowRequestable::FollowRequester::FollowOrRequestToFollow

Inherits:
Struct
  • Object
show all
Defined in:
lib/interest/follow_requestable/follow_requester.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#returnedObject

Returns the value of attribute returned

Returns:

  • (Object)

    the current value of returned



57
58
59
# File 'lib/interest/follow_requestable/follow_requester.rb', line 57

def returned
  @returned
end

#targetObject

Returns the value of attribute target

Returns:

  • (Object)

    the current value of target



57
58
59
# File 'lib/interest/follow_requestable/follow_requester.rb', line 57

def target
  @target
end

#whichObject

Returns the value of attribute which

Returns:

  • (Object)

    the current value of which



57
58
59
# File 'lib/interest/follow_requestable/follow_requester.rb', line 57

def which
  @which
end

Instance Method Details

#followed?Boolean

Returns:

  • (Boolean)


58
59
60
# File 'lib/interest/follow_requestable/follow_requester.rb', line 58

def followed?
  which == :follow
end

#requested_to_follow?Boolean

Returns:

  • (Boolean)


62
63
64
# File 'lib/interest/follow_requestable/follow_requester.rb', line 62

def requested_to_follow?
  which == :request_to_follow
end