Class: RBattlenet::Wow::Profile

Inherits:
Endpoints::Base show all
Defined in:
lib/rbattlenet/endpoints/wow/profile.rb

Defined Under Namespace

Classes: MountsCollection, PetsCollection, ProtectedSummary, User

Constant Summary collapse

SUPPORTED_FIELDS =
[:itself, :user, :protected_summary, :mounts_collection, :pets_collection]

Class Method Summary collapse

Methods inherited from Endpoints::Base

all, find

Class Method Details

.mounts_collectionObject



15
16
17
# File 'lib/rbattlenet/endpoints/wow/profile.rb', line 15

def mounts_collection
  RBattlenet::Wow::Profile::MountsCollection
end

.pets_collectionObject



19
20
21
# File 'lib/rbattlenet/endpoints/wow/profile.rb', line 19

def pets_collection
  RBattlenet::Wow::Profile::PetsCollection
end

.protected_summaryObject



11
12
13
# File 'lib/rbattlenet/endpoints/wow/profile.rb', line 11

def protected_summary
  RBattlenet::Wow::Profile::ProtectedSummary
end

.userObject



7
8
9
# File 'lib/rbattlenet/endpoints/wow/profile.rb', line 7

def user
  RBattlenet::Wow::Profile::User
end