Sha256: d2ca8fd282f6b2590d22444b09ec652bbb4761782e96756a10fcb48c4b73cb87
Contents?: true
Size: 542 Bytes
Versions: 18
Compression:
Stored size: 542 Bytes
Contents
module Foobara module CommandConnectors class Serializer < Value::Transformer class << self def serializer_from_symbol(symbol) Util.descendants(Serializer).find do |klass| name = Util.non_full_name(klass) name = name.gsub(/Serializer$/, "") name = Util.underscore(name) symbol.to_s == name end end end def request declaration_data end def transform(object) serialize(object) end end end end
Version data entries
18 entries across 18 versions & 1 rubygems