battlenet-api 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 83a48f5a460b04ecbf908e0e1c118e44001ddc3d
4
- data.tar.gz: 29891141cbe12178c019d4fcb10607b2c12ccb43
3
+ metadata.gz: ab8afa30b56711ba085a8b2d4abcd13da587f77b
4
+ data.tar.gz: 21e951ae124811bfe7261c0e8b195ee97cae8b89
5
5
  SHA512:
6
- metadata.gz: ca2ebd741b6fd6b0fc59d42819f98b5e0b6e1ff6beaa0c5397a4949f7ac7e4389522528b85e99257b932df4e94ca176149ee440487ad6060554872f4de664c7b
7
- data.tar.gz: 322c788c3ffc3d39b3866f895443842816e93649b67ec8173c1b3cf53caf7530fecd4e7f7efeea60d2c797545a85536c104f1053b59a2acb6084dd85959c4ba4
6
+ metadata.gz: 4d33baacbd01a4fde3e6d075d9adca265bebc3635b23245e6a8267b82dbfdadf5f01f19ec7e61a565e1cb17e42f4778b75fe5571ee95124491b0510a0b5980fa
7
+ data.tar.gz: ee3d9b68ac2c67834d51b9701ac4fb753cb178289a022c745aec884643834eba80e51fc3d6c17caa4b542b510c622eefbdd1972513c3338ebd3bdd8e88cc0fe9
@@ -1,5 +1,5 @@
1
1
  module Battlenet
2
2
  module Api
3
- VERSION = "1.0.1"
3
+ VERSION = "1.0.2"
4
4
  end
5
5
  end
@@ -7,7 +7,6 @@ module Battlenet
7
7
  @profile_id = options.delete(:id)
8
8
  @region = options.delete(:region)
9
9
  @name = options.delete(:name)
10
-
11
10
  @endpoint = "/profile/#{@profile_id}/#{@region}/#{@name}"
12
11
 
13
12
  super(options)
@@ -5,7 +5,6 @@ module Battlenet
5
5
  def initialize(options={})
6
6
  @realm = options.delete(:realm)
7
7
  @character_name = options.delete(:character_name)
8
-
9
8
  @endpoint = "/character/#{@realm}/#{@character_name}"
10
9
 
11
10
  super(options)
@@ -5,7 +5,6 @@ module Battlenet
5
5
  def initialize(options={})
6
6
  @realm = options.delete(:realm)
7
7
  @guild_name = options.delete(:guild_name)
8
-
9
8
  @endpoint = "/guild/#{@realm}/#{@guild_name}"
10
9
 
11
10
  super(options)
@@ -4,7 +4,6 @@ module Battlenet
4
4
 
5
5
  def initialize(options={})
6
6
  @item = options.delete(:item)
7
-
8
7
  @endpoint = "/item/#{@item}"
9
8
 
10
9
  super(options)
@@ -4,7 +4,6 @@ module Battlenet
4
4
 
5
5
  def initialize(options={})
6
6
  @realm = options.delete(:item_set)
7
-
8
7
  @endpoint = "/item/set/#{@item_set}"
9
8
 
10
9
  super(options)
@@ -3,8 +3,7 @@ module Battlenet
3
3
  class PVPLeaderboard < Battlenet::APIResponse
4
4
 
5
5
  def initialize(options={})
6
- @realm = options.delete(:bracket)
7
-
6
+ @bracket = options.delete(:bracket)
8
7
  @endpoint = "/leaderboard/#{@bracket}"
9
8
 
10
9
  super(options)
@@ -3,8 +3,7 @@ module Battlenet
3
3
  class Quest < Battlenet::APIResponse
4
4
 
5
5
  def initialize(options={})
6
- @realm = options.delete(:quest)
7
-
6
+ @quest = options.delete(:quest)
8
7
  @endpoint = "/quest/#{@quest}"
9
8
 
10
9
  super(options)
@@ -3,8 +3,7 @@ module Battlenet
3
3
  class Recipe < Battlenet::APIResponse
4
4
 
5
5
  def initialize(options={})
6
- @realm = options.delete(:recipe)
7
-
6
+ @recipe = options.delete(:recipe)
8
7
  @endpoint = "/recipe/#{@recipe}"
9
8
 
10
9
  super(options)
@@ -4,7 +4,6 @@ module Battlenet
4
4
 
5
5
  def initialize(options={})
6
6
  @spell = options.delete(:spell)
7
-
8
7
  @endpoint = "/spell/#{@spell}"
9
8
 
10
9
  super(options)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: battlenet-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - goodcodeguy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-08 00:00:00.000000000 Z
11
+ date: 2016-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty