Class: Warcraft::AccountRequest
- Inherits:
-
ApiRequest
- Object
- ApiRequest
- Warcraft::AccountRequest
- Defined in:
- lib/warcraft/account_request.rb
Instance Method Summary collapse
- #collections ⇒ Object
-
#initialize(client, region, token) ⇒ AccountRequest
constructor
A new instance of AccountRequest.
- #mounts ⇒ Object
- #pets ⇒ Object
- #profile ⇒ Object
- #protected_character ⇒ Object
Methods inherited from ApiRequest
Constructor Details
#initialize(client, region, token) ⇒ AccountRequest
Returns a new instance of AccountRequest.
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
#collections ⇒ Object
19 20 21 |
# File 'lib/warcraft/account_request.rb', line 19 def collections # TODO end |
#mounts ⇒ Object
23 24 25 |
# File 'lib/warcraft/account_request.rb', line 23 def mounts # TODO end |
#pets ⇒ Object
27 28 29 |
# File 'lib/warcraft/account_request.rb', line 27 def pets # TODO end |
#profile ⇒ Object
11 12 13 |
# File 'lib/warcraft/account_request.rb', line 11 def profile Account::Profile.new(@client, get("/profile/user/wow")) end |
#protected_character ⇒ Object
15 16 17 |
# File 'lib/warcraft/account_request.rb', line 15 def protected_character # TODO end |