Class: Allure::Link

Inherits:
JSONable show all
Defined in:
allure-ruby-commons/lib/allure_ruby_commons/model/link.rb

Overview

Allure model link object

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from JSONable

#==, #as_json, #to_json

Constructor Details

#initialize(type, name, url) ⇒ Link


8
9
10
11
12
# File 'allure-ruby-commons/lib/allure_ruby_commons/model/link.rb', line 8

def initialize(type, name, url)
  @type = type
  @name = name
  @url = url
end

Instance Attribute Details

#nameObject

Returns the value of attribute name


14
15
16
# File 'allure-ruby-commons/lib/allure_ruby_commons/model/link.rb', line 14

def name
  @name
end

#typeObject

Returns the value of attribute type


14
15
16
# File 'allure-ruby-commons/lib/allure_ruby_commons/model/link.rb', line 14

def type
  @type
end

#urlObject

Returns the value of attribute url


14
15
16
# File 'allure-ruby-commons/lib/allure_ruby_commons/model/link.rb', line 14

def url
  @url
end