Method: Netfira::WebConnect::Model::Record::FileRecord#data
- Defined in:
- lib/netfira/web_connect/model/record/file_record.rb
#data ⇒ Object
61 62 63 64 65 66 67 |
# File 'lib/netfira/web_connect/model/record/file_record.rb', line 61 def data @stream ||= if remote_location open remote_location.sub(/^file:/, '') elsif .present? Paperclip.io_adapters.for end end |