Class: Warcraft::AccountRequest

Inherits:
ApiRequest show all
Defined in:
lib/warcraft/account_request.rb

Instance Method Summary collapse

Methods inherited from ApiRequest

#get

Constructor Details

#initialize(client, region, token) ⇒ AccountRequest

Returns a new instance of AccountRequest.

Parameters:



6
7
8
9
# File 'lib/warcraft/account_request.rb', line 6

def initialize(client, region, token)
  super(client, region)
  @token = token
end

Instance Method Details

#collectionsObject



19
20
21
# File 'lib/warcraft/account_request.rb', line 19

def collections
  # TODO
end

#mountsObject



23
24
25
# File 'lib/warcraft/account_request.rb', line 23

def mounts
  # TODO
end

#petsObject



27
28
29
# File 'lib/warcraft/account_request.rb', line 27

def pets
  # TODO
end

#profileObject



11
12
13
# File 'lib/warcraft/account_request.rb', line 11

def profile
  Account::Profile.new(@client, get("/profile/user/wow"))
end

#protected_characterObject



15
16
17
# File 'lib/warcraft/account_request.rb', line 15

def protected_character
  # TODO
end