jsb_client 1.0.8 → 1.0.9
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 +2 -2
- 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: 64f28829566199f8d0d4792613309a8913fddc18
|
4
|
+
data.tar.gz: 39556a7e36a4ef9fad17cb9b78e88f4082e19229
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a37093592a8c458f0119694dfd6d3322d7859f9485d4782e7bb062e73aec6e7aba631d6c83bd11588b195e390132d6e866a50f06dfa2034066885257c047bec
|
7
|
+
data.tar.gz: 8198958ea071f592d0a4727350e3ac95d6b9beae6afcf29969c6c922bd6255ce8cfdbf85c131d36789ff6e8af8ac6efbb330e45f71f3b4b1d728683395ab6470
|
data/lib/jsb.rb
CHANGED
@@ -60,7 +60,7 @@ class JSB
|
|
60
60
|
# Arguments:
|
61
61
|
# journal_id: (Integer) id of journal.
|
62
62
|
# issue_id: (Integer) id of issue.
|
63
|
-
def
|
63
|
+
def issue(journal_id, issue_id)
|
64
64
|
parse(@api["/journals/#{journal_id}/issues/#{issue_id}"].get(:accept => :json))
|
65
65
|
end
|
66
66
|
|
@@ -79,7 +79,7 @@ class JSB
|
|
79
79
|
# journal_id: (Integer) id of journal.
|
80
80
|
# issue_id: (Integer) id of issue.
|
81
81
|
# section_id: (Integer) id of section.
|
82
|
-
def
|
82
|
+
def articles_by_section(journal_id, issue_id, section_id)
|
83
83
|
parse(@api["/journals/#{journal_id}/issues/#{issue_id}/sections/#{section_id}/articles"].get(:accept => :json))
|
84
84
|
end
|
85
85
|
|