dutws_foo 0.0.6 → 0.0.7

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.
@@ -3,14 +3,14 @@ module DutwsFoo
3
3
  class << self
4
4
  def handle_request(args)
5
5
  if (args['Command'] == 'data_update_notification')
6
- #begin
6
+ begin
7
7
  attrs = args['Body']["attributes"]
8
8
  operation = attrs.keys.first
9
9
  data = attrs[operation]#["Data"]
10
10
  args['Document'].singularize.classify.constantize.send(operation.downcase.to_sym, data)
11
- #rescue
12
- # return {:success => false}
13
- #end
11
+ rescue
12
+ return {:success => false}
13
+ end
14
14
  {:success => true}
15
15
  end
16
16
  end
@@ -1,3 +1,3 @@
1
1
  module DutwsFoo
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dutws_foo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: