Class: WCC::Arena::Profile

Inherits:
Object
  • Object
show all
Includes:
Mappers::XML
Defined in:
lib/wcc/arena/profile.rb

Instance Attribute Summary

Attributes included from Mappers::XML

#document

Instance Method Summary collapse

Methods included from Mappers::XML

#[], #attributes, #cast_attribute, included, #initialize, #inspect, #load_attribute

Instance Method Details

#childrenObject



26
27
28
# File 'lib/wcc/arena/profile.rb', line 26

def children
  @children ||= ProfileQuery.new(parent_profile_id: id).()
end

#membersObject



30
31
32
# File 'lib/wcc/arena/profile.rb', line 30

def members
  @members ||= ProfileMemberQuery.new(profile_id: id).()
end