Method: Cucumber::Messages::Attachment#body

Defined in:
lib/cucumber/messages/attachment.rb

#bodyObject (readonly)

The body of the attachment. If ‘contentEncoding` is `IDENTITY`, the attachment is simply the string. If it’s ‘BASE64`, the string should be Base64 decoded to obtain the attachment.



28
29
30
# File 'lib/cucumber/messages/attachment.rb', line 28

def body
  @body
end