Module: Card::Set::Type::Image::EmailHtmlFormat
- Extended by:
- AbstractFormat
- Defined in:
- tmpsets/set/mod019-carrierwave/type/image.rb
Instance Method Summary collapse
Instance Method Details
#attach_image(mail, path) ⇒ Object
162 163 164 165 |
# File 'tmpsets/set/mod019-carrierwave/type/image.rb', line 162 def attach_image mail, path mail..inline[path] = ::File.read path mail.[path].url end |