diff options
author | hellekin <hellekin@cepheide.org> | 2020-10-09 12:47:31 +0200 |
---|---|---|
committer | hellekin <hellekin@cepheide.org> | 2020-10-09 12:47:31 +0200 |
commit | dd9e0691acae3eb63bdfbc8665eb3f8ce516536d (patch) | |
tree | 41d5889f2a0882b4f4356ed60683e908abf0b208 /app/serializers/hash_serializer.rb | |
parent | fd9e9c4679ea36bed60acf01a43dda307db203e4 (diff) | |
download | incommon-map-dd9e0691acae3eb63bdfbc8665eb3f8ce516536d.tar.gz |
Fix Resource edition
Diffstat (limited to 'app/serializers/hash_serializer.rb')
-rw-r--r-- | app/serializers/hash_serializer.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/app/serializers/hash_serializer.rb b/app/serializers/hash_serializer.rb deleted file mode 100644 index 5db639f..0000000 --- a/app/serializers/hash_serializer.rb +++ /dev/null @@ -1,9 +0,0 @@ -class HashSerializer - def self.dump(hash) - hash.to_json - end - - def self.load(hash) - (hash || {}).with_indifferent_access - end -end |