sightstone 0.9.0 → 0.9.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 944cfc993bfe554028608929f00bbdf3bd9a5c0d
|
4
|
+
data.tar.gz: b6786fb8fbd88ab117a20cd88b9a6ea3a25aac26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 899f4a7c853214ceb0c5d19cf97b69a38501bf911a4d009aa823b1830ff31f0c440e2125af77e36b57949446edbae342927c546f7560b793be24cd6cf79de435
|
7
|
+
data.tar.gz: 1add060881c6f0ae956ffb7fa8804e5483de99176781a60a10769b734010986e69d8e2b4a3e5f77fb7fb2165313e44b47ee1123aabcab06265c9af2794efe2fd
|
@@ -11,7 +11,7 @@ class LeagueModule < SightstoneBaseModule
|
|
11
11
|
# Provides league information of a summoner
|
12
12
|
# @param [Summoner, Integer] summoner
|
13
13
|
# @param optional [Hash] optional arguments: :region => replaces default region
|
14
|
-
# @
|
14
|
+
# @return [Array<League>] an array of all leagues the summoner and his teams are in
|
15
15
|
def league(summoner, optional={})
|
16
16
|
region = optional[:region] || @sightstone.region
|
17
17
|
id = if summoner.is_a? Summoner
|
@@ -33,4 +33,4 @@ class LeagueModule < SightstoneBaseModule
|
|
33
33
|
}
|
34
34
|
end
|
35
35
|
|
36
|
-
end
|
36
|
+
end
|