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



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

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

#membersObject



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

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