jsb_client 1.0.5 → 1.0.6
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 +4 -0
- 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: ed3d4f77dfa6edb0ab5cfb4aaa50c9d68c9cebca
|
4
|
+
data.tar.gz: b231864099965d37fce5799004dce6b0887ef398
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd8f971dc5c75836d57b17fe47bc89d312b85c2f4488e951fea28fd722b3001420170c7e9bba6e26dfe6a3401c475a2e4e6c08ee0fb6e6710348ae3d03599c89
|
7
|
+
data.tar.gz: c79835f9d43d954e91440cd3107160fe389daf359db08bc9b2f6837ae9e0062018b3d6d28806ed43444256344a44ce4fce7abc3549ca4e9701b12279521db004
|
data/lib/jsb.rb
CHANGED
@@ -107,6 +107,10 @@ class JSB
|
|
107
107
|
parse(@api["/journals"].post(:journal => {:site => site, :xml => xml}, :accept => :json, :timeout => 90000000, :open_timeout => 90000000))
|
108
108
|
end
|
109
109
|
|
110
|
+
def disable_journal(journal_id)
|
111
|
+
parse(@api["/journals/#{journal_id}"].delete())
|
112
|
+
end
|
113
|
+
|
110
114
|
# Return a list of articles from author.
|
111
115
|
#
|
112
116
|
# Arguments:
|
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.
|
4
|
+
version: 1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Definity Solutions
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-03-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rest_client
|