Sha256: bf7da38aa86f23ed6820e72616dfac403833fe66111e8032fcca46ea96ae188f

Contents?: true

Size: 275 Bytes

Versions: 6

Compression:

Stored size: 275 Bytes

Contents

class Bnet::WOW::Data::Battlegroup < Bnet::WOW::Data::Base
  attr :name, :slug

  SCOPES = {
    url: 'battlegroups/',
    collection_root: 'battlegroups'
  }

  PARAMS_MAPPING = { "name" => :name, "slug" => :slug }

  private

  def self.scopes
    self::SCOPES
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
bnet-0.0.10 lib/bnet/wow/data/battlegroup.rb
bnet-0.0.5 lib/bnet/wow/data/battlegroup.rb
bnet-0.0.4 lib/bnet/wow/data/battlegroup.rb
bnet-0.0.3 lib/bnet/wow/data/battlegroup.rb
bnet-0.0.2 lib/bnet/wow/data/battlegroup.rb
bnet-0.0.1 lib/bnet/wow/data/battlegroup.rb