Module: Battlenet::Modules::Character

Included in:
Battlenet
Defined in:
lib/battlenet/modules/character.rb

Instance Method Summary collapse

Instance Method Details

#character(realm, name, options = {}) ⇒ Object



6
7
8
9
10
11
# File 'lib/battlenet/modules/character.rb', line 6

def character(realm, name, options = {})
  realm = URI.escape realm
  name = URI.escape name

  get "/character/#{realm}/#{name}", options
end