lib/iron_bank/actions/delete.rb in iron_bank-1.0.4 vs lib/iron_bank/actions/delete.rb in iron_bank-2.0.0

- old
+ new

@@ -9,11 +9,15 @@ private def params { ids: args.fetch(:ids), - type: args.fetch(:type) + type: type } + end + + def type + IronBank::Utils.camelize(args.fetch(:type), type: :upper) end end end end