Class: ParamsTransformer::ValueParser::Zip

Inherits:
ParamsTransformer::ValueParser show all
Defined in:
lib/params_transformer/value_parser/zip.rb

Instance Attribute Summary

Attributes inherited from ParamsTransformer::ValueParser

#input_value

Instance Method Summary collapse

Methods inherited from ParamsTransformer::ValueParser

#after_init, #initialize

Constructor Details

This class inherits a constructor from ParamsTransformer::ValueParser

Instance Method Details

#parseObject



4
5
6
7
# File 'lib/params_transformer/value_parser/zip.rb', line 4

def parse
  return nil unless input_value.present?
  input_value.try(:to_s)
end