Class: Bnet::WOW::Data::Battlegroup

Inherits:
Base show all
Defined in:
lib/bnet/wow/data/battlegroup.rb

Constant Summary collapse

SCOPES =
{
  url: 'battlegroups/',
  collection_root: 'battlegroups'
}
PARAMS_MAPPING =
{ "name" => :name, "slug" => :slug }

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

find_all

Methods inherited from BnetResource

from_api, #initialize

Constructor Details

This class inherits a constructor from Bnet::BnetResource

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



2
3
4
# File 'lib/bnet/wow/data/battlegroup.rb', line 2

def name
  @name
end