Method: As2::Message#attachment
- Defined in:
- lib/as2/message.rb
#attachment ⇒ Mail::Part
TODO:
maybe rename this to payload. ‘attachment’ sounds very email.
Return the attached file, use .filename and .body on the return value This is the content the sender is sending to us.
219 220 221 |
# File 'lib/as2/message.rb', line 219 def ||= self.class.(parts) end |