class Battlenet::D3::Profile

Public Class Methods

new(options={}) click to toggle source
Calls superclass method Battlenet::APIResponse::new
# File lib/battlenet/modules/d3/profile.rb, line 6
def initialize(options={})
  super(options)
end

Public Instance Methods

career(battletag, options = {}) click to toggle source
# File lib/battlenet/modules/d3/profile.rb, line 10
def career(battletag, options = {})
  get_data("/profile/#{battletag}", options)
end
hero(battletag, hero_id, options = {}) click to toggle source
# File lib/battlenet/modules/d3/profile.rb, line 14
def hero(battletag, hero_id, options = {})
  get_data("/profile/#{battletag}/hero/#{hero_id}", options)
end