class Allure::Attachment

Allure model attachment object

Attributes

name[RW]
source[RW]
type[RW]

Public Class Methods

new(name:, type:, source:) click to toggle source

@param [String] name attachment name @param [String] type attachment type, {Allure::ContentType} @param [String] source attachment file name

Calls superclass method
# File lib/allure_ruby_commons/model/attachment.rb, line 9
def initialize(name:, type:, source:)
  super()

  @name = name
  @type = type
  @source = source
end