Class: SingleIssueLinkType
- Inherits:
-
Object
- Object
- SingleIssueLinkType
- Defined in:
- lib/jirarest2/services/issuelinktype.rb
Overview
Lets try it by making one class for each issue link type and glue them together in a list
Instance Attribute Summary collapse
-
#inward ⇒ String
readonly
Name of the inward string.
-
#name ⇒ String
readonly
Name of the Type.
-
#outward ⇒ String
readonly
Name of the outward string.
Instance Method Summary collapse
-
#initialize(name, inward, outward) ⇒ SingleIssueLinkType
constructor
A new instance of SingleIssueLinkType.
Constructor Details
#initialize(name, inward, outward) ⇒ SingleIssueLinkType
Returns a new instance of SingleIssueLinkType.
32 33 34 35 36 |
# File 'lib/jirarest2/services/issuelinktype.rb', line 32 def initialize(name,inward,outward) @name = name @inward = inward @outward = outward end |
Instance Attribute Details
#inward ⇒ String (readonly)
Returns Name of the inward string.
25 26 27 |
# File 'lib/jirarest2/services/issuelinktype.rb', line 25 def inward @inward end |
#name ⇒ String (readonly)
Returns Name of the Type.
23 24 25 |
# File 'lib/jirarest2/services/issuelinktype.rb', line 23 def name @name end |
#outward ⇒ String (readonly)
Returns Name of the outward string.
27 28 29 |
# File 'lib/jirarest2/services/issuelinktype.rb', line 27 def outward @outward end |