Module: Tekeya::Entity::Group

Extended by:
ActiveSupport::Concern
Includes:
Tekeya::Entity
Defined in:
lib/tekeya/entity/group.rb

Instance Method Summary collapse

Methods included from Tekeya::Entity

#block, #blocked, #blocks?, #feed, #groups, #is_tekeya_entity?, #join, #leave, #member_of?, #profile_feed, #track, #trackers, #tracking, #tracks?, #unblock, #untrack

Instance Method Details

#is_tekeya_group?Boolean

Returns:

  • (Boolean)


13
14
15
# File 'lib/tekeya/entity/group.rb', line 13

def is_tekeya_group?
  return true
end

#members(type = nil) ⇒ Object



17
18
19
# File 'lib/tekeya/entity/group.rb', line 17

def members(type = nil)
  tekeya_relations_of(self, :joins, type, true)
end