Class: SocialStream::Routing::Constraints::Follow

Inherits:
Object
  • Object
show all
Defined in:
lib/social_stream/routing/constraints/follow.rb

Instance Method Summary collapse

Instance Method Details

#matches?(request) ⇒ Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/social_stream/routing/constraints/follow.rb', line 5

def matches?(request)
  SocialStream.relation_model == :follow
end