bpm_manager 0.11.4 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c46e2d247aa72a568336cd59a8edafb440363685
4
- data.tar.gz: b630d95a4bfcb9599b60a536166e23c70b1b8b97
3
+ metadata.gz: 722903b08b5cf4aeca33964e26ce5a9444347f51
4
+ data.tar.gz: 14640fd94f1c2ccc35ffbbfa35767ad92516c6bb
5
5
  SHA512:
6
- metadata.gz: bdc69e3ae67c00eebebdc3453c85309cbdd63ae5fbd124570da658da15e95784282e31ca01d0a67a53d8bcb22d8b0e2bca19655ed942a9abd59d1140dc8f314d
7
- data.tar.gz: 4f5b4d6fa79dbf0209f6ab3c0299488596eec01d03af24843ea3389d88967ceb9906b3a73bb8f72f1dea09d26895ef4aa214e11a20b95c4ed203f58bff2effc2
6
+ metadata.gz: cefe5c89f6f79037a4e5b89cf4c79e59374e6f0f99a598ad6a3ce5ad6fe75d5187cfdc46af9c26fb3e5bf4ae1a3beb8696e16df8090cdc4a654e4dad45db99e6
7
+ data.tar.gz: 2d524ec501b775f9c41774030c295e7bfe76d5cc44370105672ba813bfff6b31f52f8d9c04f614d3f1ac3295a831d942c82d9e6d3ea71a75c8e23b358e20c131
@@ -36,6 +36,11 @@ module BpmManager
36
36
  end
37
37
  end
38
38
 
39
+ # Gets the Process image as SVG
40
+ def self.process_image(deployment_id, process_definition_id, process_id = '')
41
+ BpmManager.server['/runtime/' + deployment_id.to_s + '/process/' + process_definition_id.to_s + '/image' + ((process_id.nil? || process_id.empty?) ? '' : '/' + process_id)].get
42
+ end
43
+
39
44
  # Gets all tasks, optionally you could specify an user id
40
45
  def self.tasks(user_id = '')
41
46
  self.structure_task_data(JSON.parse(BpmManager.server['/task/query?taskOwner=' + user_id].get))
@@ -1,3 +1,3 @@
1
1
  module BpmManager
2
- VERSION = "0.11.4"
2
+ VERSION = "1.0.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bpm_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.4
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ariel Presa