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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/jsb.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3c7e295b56c33eef0a75caa75a22423944c5ac4e
4
- data.tar.gz: ffce1ec014f2682aaf7f94943e3ebfa06c8da8ce
3
+ metadata.gz: 64f28829566199f8d0d4792613309a8913fddc18
4
+ data.tar.gz: 39556a7e36a4ef9fad17cb9b78e88f4082e19229
5
5
  SHA512:
6
- metadata.gz: 09f02fd6eabb09b422612d77f43649732853563771b6d618f511703c5eb6f0a48edfb30c97913b0746b9dd6b9a4b2563a7bba877ec6724d3566d21bd665c1171
7
- data.tar.gz: aac27607c4cea50399fe65645b8993f69dbbf0d7244af261c7cbfabda12c59bd05501290c9327418216f258c46cdfacd55c2e6ced7f64a705e345a1800ae3394
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 issues(journal_id, issue_id)
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 articles(journal_id, issue_id, section_id)
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jsb_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Definity Solutions