Class: Allure::Link
- Defined in:
- lib/allure_ruby_commons/model/link.rb
Overview
Allure model link object
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#type ⇒ Object
Returns the value of attribute type.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(type, name, url) ⇒ Link
constructor
A new instance of Link.
Methods inherited from JSONable
Constructor Details
#initialize(type, name, url) ⇒ Link
Returns a new instance of Link.
6 7 8 9 10 11 12 |
# File 'lib/allure_ruby_commons/model/link.rb', line 6 def initialize(type, name, url) super() @type = type @name = name @url = url end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
14 15 16 |
# File 'lib/allure_ruby_commons/model/link.rb', line 14 def name @name end |
#type ⇒ Object
Returns the value of attribute type.
14 15 16 |
# File 'lib/allure_ruby_commons/model/link.rb', line 14 def type @type end |
#url ⇒ Object
Returns the value of attribute url.
14 15 16 |
# File 'lib/allure_ruby_commons/model/link.rb', line 14 def url @url end |