Class: Paperclip::IdentityAdapter

Inherits:
AbstractAdapter show all
Defined in:
lib/paperclip/io_adapters/identity_adapter.rb

Constant Summary

Constants inherited from AbstractAdapter

AbstractAdapter::OS_RESTRICTED_CHARACTERS

Instance Attribute Summary

Attributes inherited from AbstractAdapter

#content_type, #original_filename, #size

Instance Method Summary collapse

Methods inherited from AbstractAdapter

#assignment?, #fingerprint, #inspect, #nil?, #read

Constructor Details

#initializeIdentityAdapter



3
4
# File 'lib/paperclip/io_adapters/identity_adapter.rb', line 3

def initialize
end

Instance Method Details

#new(target, _) ⇒ Object



6
7
8
# File 'lib/paperclip/io_adapters/identity_adapter.rb', line 6

def new(target, _)
  target
end