Sha256: 4e47a6de875bc74a22098d45c76fb7e350b1480dc6ef7cff5bece6c112372ea4

Contents?: true

Size: 211 Bytes

Versions: 4

Compression:

Stored size: 211 Bytes

Contents

require 'uri'

class Battlenet
  module Guild
    def guild(realm, name, options = {})
      realm = URI.escape realm
      name = URI.escape name

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
battlenet-1.2.0 lib/battlenet/modules/guild.rb
battlenet-1.1.1 lib/battlenet/modules/guild.rb
battlenet-1.1.0 lib/battlenet/modules/guild.rb
battlenet-1.0.0 lib/battlenet/modules/guild.rb