Module: Adrift::FileToAttach::Adapter

Overview

Common adapter behaviour for the files who will be attached.

Instance Method Summary collapse

Instance Method Details

#initialize(file_representation) ⇒ Object

Creates a new Adapter for the file_representation.



12
13
14
# File 'lib/adrift/file_to_attach.rb', line 12

def initialize(file_representation)
  @file_representation = file_representation
end