diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-11-04 17:00:39 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-11-04 17:00:39 +0300 |
commit | b0a4635be395f0ce14e15e1671d7acfc2360d1ba (patch) | |
tree | f3baf07305d9c296e785979f70feb64e75c461dc /app/serializers/entity_request.rb | |
parent | e49fb264e6cb5eff44330d69d34b5f74ef262659 (diff) |
Simplify implementation of entity serializers
Diffstat (limited to 'app/serializers/entity_request.rb')
-rw-r--r-- | app/serializers/entity_request.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/serializers/entity_request.rb b/app/serializers/entity_request.rb index 12ceb38b284..456ba1174c0 100644 --- a/app/serializers/entity_request.rb +++ b/app/serializers/entity_request.rb @@ -5,10 +5,6 @@ class EntityRequest # that is present in the controller (see #20045). # def initialize(parameters) - merge!(parameters) - end - - def merge!(parameters) parameters.each do |key, value| define_singleton_method(key) { value } end |