rito_api 0.1.2.4 → 0.1.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/rito_api/client.rb +4 -0
- data/lib/rito_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b95c67a0397a791bd4b793b1be66ab90f6769444
|
4
|
+
data.tar.gz: 3dd3ca3007d5e1d6731422cca0c4e4954fc10634
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 720cb9d024e401e017bd8603e3ee9cf405ea9ae50b95d0f5c0ed619f60f302dd98afad609fe9cdf12b8ab622a6f12fd4a42e5b60979da95ef4798c3c2733a8cb
|
7
|
+
data.tar.gz: 7ada2a72b0ac8d1d55599dd9a7c7f044818d6abce783b86c1c403ac298d5dc3163022c44a5604c019d73854b8593cdae54f7160ab0f0ccdbe27dcec2fe397d36
|
data/Gemfile.lock
CHANGED
data/lib/rito_api/client.rb
CHANGED
@@ -27,6 +27,10 @@ module RitoApi
|
|
27
27
|
def change_region(region) # Changes region after the client is already initialized.
|
28
28
|
@region = region
|
29
29
|
end
|
30
|
+
|
31
|
+
def basic
|
32
|
+
RitoApi::Requests::Basic.new(@api_key, @region, @cache_store)
|
33
|
+
end
|
30
34
|
|
31
35
|
def summoner # Creates a new instance of summoner class. Used to make request relating to summoner. Check requests/summoner.rb for methods.
|
32
36
|
RitoApi::Requests::Summoner.new(@api_key, @region, @cache_store)
|
data/lib/rito_api/version.rb
CHANGED