megam_api 1.50.6 → 1.50.11
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/megam/api/version.rb +1 -1
- data/lib/megam/core/marketplace.rb +7 -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: 00aff343d16f8112bed6492c995568295819c76e
|
|
4
|
+
data.tar.gz: 282e16d1d90c6adfa4530666249bfe17dc88fcb5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ff45c05df2d770d398d486a358f3958b8ae10fe1dd78235bc541720f330559abe0a08ea6d136385e6174ec6cf75c83710fbd66aa13542c04db1bca7f19a935ad
|
|
7
|
+
data.tar.gz: bde98349bb9c9d65c43ca96646b2c2e082e7b9260373a9789228945a97ebe8cc06f8e6a3bdd3df5afc51506faff4b64da6e7283a8abe739eb2b308592e4f7bf3
|
data/lib/megam/api/version.rb
CHANGED
|
@@ -17,6 +17,7 @@ module Megam
|
|
|
17
17
|
@plans = []
|
|
18
18
|
@created_at = nil
|
|
19
19
|
@updated_at = nil
|
|
20
|
+
@some_msg = {}
|
|
20
21
|
super(o)
|
|
21
22
|
end
|
|
22
23
|
|
|
@@ -184,6 +185,7 @@ module Megam
|
|
|
184
185
|
index_hash['inputs'] = inputs
|
|
185
186
|
index_hash['outputs'] = outputs
|
|
186
187
|
index_hash['acl_policies'] = acl_policies
|
|
188
|
+
index_hash["some_msg"] = some_msg
|
|
187
189
|
index_hash
|
|
188
190
|
end
|
|
189
191
|
|
|
@@ -233,6 +235,11 @@ module Megam
|
|
|
233
235
|
app.outputs(o['outputs']) if o.key?('outputs')
|
|
234
236
|
app.status(o['status']) if o.key?('status')
|
|
235
237
|
app.acl_policies(o['acl_policies']) if o.key?('acl_policies')
|
|
238
|
+
#success or error
|
|
239
|
+
app.some_msg[:code] = o["code"] if o.has_key?("code")
|
|
240
|
+
app.some_msg[:msg_type] = o["msg_type"] if o.has_key?("msg_type")
|
|
241
|
+
app.some_msg[:msg]= o["msg"] if o.has_key?("msg")
|
|
242
|
+
app.some_msg[:links] = o["links"] if o.has_key?("links")
|
|
236
243
|
app
|
|
237
244
|
end
|
|
238
245
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: megam_api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.50.
|
|
4
|
+
version: 1.50.11
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rajthilak, Kishorekumar Neelamegam, Ranjitha R, Vinodhini V, Rathish VBR, Rajesh
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2017-02-
|
|
12
|
+
date: 2017-02-28 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: excon
|