jsb_client 1.0.10 → 1.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jsb.rb +5 -0
- 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: 2ce907dba59fd66c7997a4b358405b2fe0870cc0
|
4
|
+
data.tar.gz: 880c1e4ca393a973b8eedd1096e8c8b34286c118
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f4ddbd9df09fc19b576b9e68e2317a7073eb0ad30a1a8b1f7d88c20ab82d24595bfa9db2f3c8384e2d5d5d40d98f73bb6a914f8e0117a46bdf0f9c56d244176
|
7
|
+
data.tar.gz: 334e44d6da168a1abea534291c7d626fcc27f0b5c5e15da6c1615b3c51de3e66a9c1174a858479eb8d0394f46f77043814e0608c41a4bee0b942d5690be993a5
|
data/lib/jsb.rb
CHANGED
@@ -107,6 +107,11 @@ class JSB
|
|
107
107
|
parse(@api["/authors"].get(:accept => :json))
|
108
108
|
end
|
109
109
|
|
110
|
+
# Return an author.
|
111
|
+
def author(author_id)
|
112
|
+
parse(@api["/authors/#{author_id}"].get(:accept => :json))
|
113
|
+
end
|
114
|
+
|
110
115
|
# Return a list of authors from a journal.
|
111
116
|
#
|
112
117
|
# Arguments:
|