brawlhalla-api 0.1.3 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f310ac8c3173ecc2bee89c74be6f583834ce682de221bd00c85328da5d5354db
4
- data.tar.gz: 5abb167944bdd6e4eb25e72444eb0845ca193d7283db1a599dcc1d638cc61d31
3
+ metadata.gz: 3b0672936f9392289c88a4b6cf86774a9b7af81c8aa30afcac9f2cd99dc0f78d
4
+ data.tar.gz: bc7f5ccb7eb3c40c94d591bb6a97e0a804b17b2fc6eb553d3cfc781373d8825a
5
5
  SHA512:
6
- metadata.gz: 0b7402abd66e1613690bcfd15d2fd1763abefbb55bff2f5e57bbb92df1cdb9bb0e1b078623f4e3c5ebf9dd848bc7bb0d1dd12d185d43f0024d97a238af477bb1
7
- data.tar.gz: 21f6e0f45896fc3c2d6b2284b63553ceae3a8228f2aca9b0c38be7206c41518380223d6d9d0dba3fe9a15e8a07351a219f0dce2c3f05f145f61c5f733ee5e734
6
+ metadata.gz: 0b7bb22aaddcee75c0fa889094c9245764c4ec4a7e76632e651ed7720dd9f7e301c785f09ca959483239cfd2ed4d9a50c9c6672bd401dde3c5e666e2fe3b25a7
7
+ data.tar.gz: 3f016cdae9736d6f5939f1321ef416f7cd734ca653c0d845a4101aaa4cf02817140ba8382e4d79898219788396a315f28ebf4304cfaf1da29d3bdf667c262e28
@@ -61,7 +61,7 @@ module Brawlhalla
61
61
 
62
62
  def build_url(path, params = {})
63
63
  url = Addressable::URI.join(path)
64
- url.query_values = { api_key: ENV['API_KEY'] }.merge(params)
64
+ url.query_values = { api_key: @api_key }.merge(params)
65
65
  url
66
66
  end
67
67
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Brawlhalla
4
4
  module API
5
- VERSION = '0.1.3'
5
+ VERSION = '0.2.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brawlhalla-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - rikas