Module: Battlenet::Modules::Guild

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

Instance Method Summary collapse

Instance Method Details

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



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

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

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