playstationnetwork-api 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/playstationnetwork/games.rb +2 -2
- data/lib/playstationnetwork/version.rb +7 -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: 0d979f78c62a903d0528298317aad855b6de235a
|
4
|
+
data.tar.gz: 342f58da671803ab693cdd9888050a623d1e0a9f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65332e8c97ff720475ddcf1ca706904ebca7f27e9f3592870321e91b487313e4a533f7fd3c7204d041c0d8bcef483ef6085ccdadab5b0863c9bf1af9dde088d1
|
7
|
+
data.tar.gz: 3bb73e58a0ea73711bd2ffb5a6ed042d1810c48204a75a85299edc7a11566675505af9602b5a529ccfe5d0fb37d414e23b6771e54971fdab46cc397368c3772e
|
@@ -9,8 +9,8 @@ module PlayStationNetwork
|
|
9
9
|
self.games = games
|
10
10
|
end
|
11
11
|
|
12
|
-
def self.find(username)
|
13
|
-
response = PlayStationNetwork::API.get("/#{username}/trophies")
|
12
|
+
def self.find(username, offset = 0)
|
13
|
+
response = PlayStationNetwork::API.get("/#{username}/trophies/o/#{offset}")
|
14
14
|
|
15
15
|
if response.success?
|
16
16
|
new(
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: playstationnetwork-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vlad Radulescu
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|