Class: Battlenet::WOW::Realm
- Inherits:
-
APIResponse
- Object
- APIResponse
- Battlenet::WOW::Realm
- Defined in:
- lib/battlenet/modules/wow/realm.rb
Instance Attribute Summary
Attributes inherited from APIResponse
Instance Method Summary collapse
- #details ⇒ Object
-
#initialize(options = {}) ⇒ Realm
constructor
A new instance of Realm.
Methods inherited from APIResponse
Constructor Details
#initialize(options = {}) ⇒ Realm
Returns a new instance of Realm.
5 6 7 8 9 |
# File 'lib/battlenet/modules/wow/realm.rb', line 5 def initialize(={}) @endpoint = "/realm/status" super() end |
Instance Method Details
#details ⇒ Object
11 12 13 |
# File 'lib/battlenet/modules/wow/realm.rb', line 11 def details get_data(@endpoint, {}) end |