rito_api 0.1.2 → 0.1.2.1
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/requests/{base.rb → basic.rb} +1 -1
- data/lib/rito_api/requests/challenger.rb +1 -1
- data/lib/rito_api/requests/champion.rb +1 -1
- data/lib/rito_api/requests/item.rb +1 -1
- data/lib/rito_api/requests/match.rb +1 -1
- data/lib/rito_api/requests/summoner.rb +1 -1
- data/lib/rito_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c04cb45f336b6f78e0e53e3f6fa0d0d6da7ca2da
|
4
|
+
data.tar.gz: 4fbfe617441fa483da95126de0277b7fae82d8d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11c5edc99183d9e71d8e865c7676af3d041f53cb5502ffd600f62ff931b1c692f8b20cd0c0f9265d978e41645b147cd48a3e0fb39507791210c71026183d0a25
|
7
|
+
data.tar.gz: a00a111f304cf240bc730818c67b7e9883aed773efcb82232f0ac314461d3371a505a774adcab2dfcaf348cd7d618c8824a99400840657ee16b51c175aa2c337
|
data/Gemfile.lock
CHANGED
@@ -4,7 +4,7 @@ module RitoApi
|
|
4
4
|
# Request Module that handles every requests.
|
5
5
|
module Requests
|
6
6
|
attr_accessor :region
|
7
|
-
class
|
7
|
+
class Basic # Every other request class inherits from this class.
|
8
8
|
|
9
9
|
def initialize(api_key, region, cache_store) # Initializing
|
10
10
|
@api_key = api_key
|
@@ -2,7 +2,7 @@ module RitoApi
|
|
2
2
|
|
3
3
|
module Requests
|
4
4
|
|
5
|
-
class Challenger <
|
5
|
+
class Challenger < Basic
|
6
6
|
|
7
7
|
def solo_queue(count = 0, ttl = @ttl) # Not passing an argument / passing string (unless string is number)/ 0 => returns all 200 results.
|
8
8
|
payCheck = make_request(request_url("/lol/league/v3/challengerleagues/by-queue/RANKED_SOLO_5x5"), ttl)[:entries]
|
data/lib/rito_api/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rito_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.2
|
4
|
+
version: 0.1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manish Shahi
|
@@ -119,7 +119,7 @@ files:
|
|
119
119
|
- bin/setup
|
120
120
|
- lib/rito_api.rb
|
121
121
|
- lib/rito_api/client.rb
|
122
|
-
- lib/rito_api/requests/
|
122
|
+
- lib/rito_api/requests/basic.rb
|
123
123
|
- lib/rito_api/requests/challenger.rb
|
124
124
|
- lib/rito_api/requests/champion.rb
|
125
125
|
- lib/rito_api/requests/item.rb
|