clashinator 1.1.2 → 1.1.3
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 +4 -4
- data/lib/clashinator/client.rb +13 -13
- data/lib/clashinator/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: ba3e143a77eeaa5412502fe8a8c9c126139f3047
|
4
|
+
data.tar.gz: 6d0078fe36e756046b63f66b27a0d06f36b62d75
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d85a61c216eb6ef9dd4f226035f128615702527b0bd83bca82fa58acb9f43ae7533cd53ab6d986816ec6efeb98a2ff90d187c97353cb17cfd7cc0884759ede9
|
7
|
+
data.tar.gz: 08e5500f8eb4a6029032f64ac92218d58a9e5650ea7731666caf4388c7c3dc0b18c473dc10b8a1e7ab836b074fcc382405eadf5cf36da7be10c5619f829c752a
|
data/lib/clashinator/client.rb
CHANGED
@@ -18,67 +18,67 @@ module Clashinator
|
|
18
18
|
# client class methods
|
19
19
|
|
20
20
|
def search_clans(options)
|
21
|
-
Clashinator::Clan.search_clans(@conn,
|
21
|
+
Clashinator::Clan.search_clans(@conn, options)
|
22
22
|
end
|
23
23
|
|
24
24
|
def clan_info(tag)
|
25
|
-
Clashinator::Clan.clan_info(@conn,
|
25
|
+
Clashinator::Clan.clan_info(@conn, tag)
|
26
26
|
end
|
27
27
|
|
28
28
|
def list_clan_members(tag, options = {})
|
29
|
-
Clashinator::Clan.list_clan_members(@conn,
|
29
|
+
Clashinator::Clan.list_clan_members(@conn, tag, options)
|
30
30
|
end
|
31
31
|
|
32
32
|
def clan_war_log(tag, options = {})
|
33
|
-
Clashinator::Clan.clan_war_log(@conn,
|
33
|
+
Clashinator::Clan.clan_war_log(@conn, tag, options)
|
34
34
|
end
|
35
35
|
|
36
36
|
# location class methods
|
37
37
|
|
38
38
|
def list_locations(options = {})
|
39
|
-
Clashinator::Location.list_locations(@conn,
|
39
|
+
Clashinator::Location.list_locations(@conn, options)
|
40
40
|
end
|
41
41
|
|
42
42
|
def location_info(location_id)
|
43
|
-
Clashinator::Location.location_info(@conn,
|
43
|
+
Clashinator::Location.location_info(@conn, location_id)
|
44
44
|
end
|
45
45
|
|
46
46
|
def location_clan_rankings(location_id, options = {})
|
47
47
|
Clashinator::Locaton.location_clan_rankings(
|
48
|
-
@conn,
|
48
|
+
@conn, location_id, options
|
49
49
|
)
|
50
50
|
end
|
51
51
|
|
52
52
|
def location_player_rankings(player_tag, options = {})
|
53
53
|
Clashinator::Location.location_player_rankings(
|
54
|
-
@conn,
|
54
|
+
@conn, player_tag, options
|
55
55
|
)
|
56
56
|
end
|
57
57
|
|
58
58
|
# league class methods
|
59
59
|
|
60
60
|
def list_leagues(options = {})
|
61
|
-
Clashinator::League.list_leagues(@conn,
|
61
|
+
Clashinator::League.list_leagues(@conn, options)
|
62
62
|
end
|
63
63
|
|
64
64
|
def league_info(league_id)
|
65
|
-
Clashinator::League.league_info(@conn,
|
65
|
+
Clashinator::League.league_info(@conn, league_id)
|
66
66
|
end
|
67
67
|
|
68
68
|
def league_seasons(league_id, options = {})
|
69
|
-
Clashinator::League.league_seasons(@conn,
|
69
|
+
Clashinator::League.league_seasons(@conn, league_id, options)
|
70
70
|
end
|
71
71
|
|
72
72
|
def league_season_rankings(league_id, season_id, options = {})
|
73
73
|
Clashinator::League.league_season_rankings(
|
74
|
-
@conn,
|
74
|
+
@conn, league_id, season_id, options
|
75
75
|
)
|
76
76
|
end
|
77
77
|
|
78
78
|
# player class methods
|
79
79
|
|
80
80
|
def player_info(tag)
|
81
|
-
Clashinator::Player.player_info(@conn,
|
81
|
+
Clashinator::Player.player_info(@conn, tag)
|
82
82
|
end
|
83
83
|
end
|
84
84
|
end
|
data/lib/clashinator/version.rb
CHANGED