Method: Paperclip::Interpolations#id

Defined in:
lib/paperclip/interpolations.rb

#id(attachment, style_name) ⇒ Object

Returns the id of the instance.



98
99
100
# File 'lib/paperclip/interpolations.rb', line 98

def id attachment, style_name
  attachment.instance.id
end