plutora_rest 0.0.16 → 0.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/plutora_rest/sections/changes.rb +17 -10
- data/lib/plutora_rest/version.rb +1 -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: 0c1d9a73197c8842342cfcc0ce367a57d5527521
|
|
4
|
+
data.tar.gz: 0f65ddd7b0f15a8446afb6cc97b40c290616901b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f045991bdca8a9f717f7a2741cf61286705e5e33fe7c8938fc9b4519525bf0880754b583293e6e0d09c76c9b11310ae8f18579b1b091363c0609aa3cb89d96d7
|
|
7
|
+
data.tar.gz: f0ee46fdd74c2491286e953e8bc81d7a3ff3afcbf71654c47f8a7459f47551448d30167a5b19c93f1152249609e129ee56a53391b4ebd5730f3e53bad447e533
|
|
@@ -24,16 +24,23 @@ module PlutoraRest
|
|
|
24
24
|
|
|
25
25
|
#---- Get Changes By Id ----
|
|
26
26
|
def get_ChangesById(opts = {})
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
27
|
+
begin
|
|
28
|
+
if opts[:id] == nil
|
|
29
|
+
raise "Changes By Id requires an ID value!"
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
url = "#{@base_url}Changes/#{opts[:id]}"
|
|
33
|
+
|
|
34
|
+
headers = {'Authorization' => 'Bearer ' + (opts[:token] == nil ? @token : opts[:token])}
|
|
35
|
+
|
|
36
|
+
resp=formatResp({:xml => plutora_get({:url => url, :headers => headers})})
|
|
37
|
+
return resp
|
|
38
|
+
rescue
|
|
39
|
+
puts "-----> Get Changes By Id Error <-----"
|
|
40
|
+
puts $!
|
|
41
|
+
puts $@
|
|
42
|
+
puts "<----------------------------------->"
|
|
43
|
+
end
|
|
37
44
|
end
|
|
38
45
|
|
|
39
46
|
#---- Get Changes By Id Additional Informations ----
|
data/lib/plutora_rest/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: plutora_rest
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.17
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ProjectYeti
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2016-
|
|
12
|
+
date: 2016-07-27 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: bundler
|