wingyu/rbattlenet

View on GitHub
lib/rbattlenet/endpoints/wow/classic/item_class.rb

Summary

Maintainability
A
0 mins
Test Coverage
module RBattlenet
  module Wow
    module Classic
      class ItemClass < RBattlenet::Endpoints::Base
        def self.path(id)
          RBattlenet.uri("data/wow/item-class/#{id}?namespace=static-classic-")
        end

        def self.index_path
          RBattlenet.uri("data/wow/item-class/index?namespace=static-classic-")
        end
      end
    end
  end
end