Class: SingleIssueLinkType

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(name, inward, outward) ⇒ SingleIssueLinkType

Returns a new instance of SingleIssueLinkType.

Parameters:

  • name (String)

    The name of the IssueLinkType

  • inward (String)

    The name used for inward links

  • outward (String)

    The name used for outward links



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

#inwardString (readonly)

Returns Name of the inward string.

Returns:

  • (String)

    Name of the inward string



25
26
27
# File 'lib/jirarest2/services/issuelinktype.rb', line 25

def inward
  @inward
end

#nameString (readonly)

Returns Name of the Type.

Returns:

  • (String)

    Name of the Type



23
24
25
# File 'lib/jirarest2/services/issuelinktype.rb', line 23

def name
  @name
end

#outwardString (readonly)

Returns Name of the outward string.

Returns:

  • (String)

    Name of the outward string



27
28
29
# File 'lib/jirarest2/services/issuelinktype.rb', line 27

def outward
  @outward
end