megam_api 1.50.6 → 1.50.11

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: 34c06c46af5e5bed95d65b68ead862211ba0e90a
4
- data.tar.gz: 0137f6f56614622d70385cb6b331ecb6842b7bb5
3
+ metadata.gz: 00aff343d16f8112bed6492c995568295819c76e
4
+ data.tar.gz: 282e16d1d90c6adfa4530666249bfe17dc88fcb5
5
5
  SHA512:
6
- metadata.gz: 6a17da822d8ea782a02b886aac4682fe8975a5bd37bb145c65d2dea495518e54ff62ace35d8cd4aa844eacf7ee36659c97de67399539cf4f8244b984296e9976
7
- data.tar.gz: 2932dc22f13586a8bd33e25c757e0a4ce23f63533f9ec20f11619463a8528ecf7f71fc9edcb15d5f16ff1ebf3d3f1a525d29d89a1b1038ca3a8fd870dcde4f37
6
+ metadata.gz: ff45c05df2d770d398d486a358f3958b8ae10fe1dd78235bc541720f330559abe0a08ea6d136385e6174ec6cf75c83710fbd66aa13542c04db1bca7f19a935ad
7
+ data.tar.gz: bde98349bb9c9d65c43ca96646b2c2e082e7b9260373a9789228945a97ebe8cc06f8e6a3bdd3df5afc51506faff4b64da6e7283a8abe739eb2b308592e4f7bf3
@@ -1,5 +1,5 @@
1
1
  module Megam
2
2
  class API
3
- VERSION = "1.50.6"
3
+ VERSION = "1.50.11"
4
4
  end
5
5
  end
@@ -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.6
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-24 00:00:00.000000000 Z
12
+ date: 2017-02-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: excon