Class: Hookers::Changelog::Affects
- Inherits:
-
Object
- Object
- Hookers::Changelog::Affects
- Defined in:
- lib/hookers/changelog/affects.rb
Instance Attribute Summary collapse
-
#commit ⇒ Object
Returns the value of attribute commit.
-
#identifier ⇒ Object
Returns the value of attribute identifier.
-
#number ⇒ Object
Returns the value of attribute number.
-
#type ⇒ Object
Returns the value of attribute type.
-
#uri ⇒ Object
Returns the value of attribute uri.
Instance Method Summary collapse
-
#initialize(commit, type, number, uri, identifier) ⇒ Affects
constructor
A new instance of Affects.
Constructor Details
#initialize(commit, type, number, uri, identifier) ⇒ Affects
Returns a new instance of Affects.
9 10 11 12 13 14 15 |
# File 'lib/hookers/changelog/affects.rb', line 9 def initialize(commit, type, number, uri, identifier) self.commit = commit self.type = type self.number = number self.uri = uri self.identifier = identifier end |
Instance Attribute Details
#commit ⇒ Object
Returns the value of attribute commit.
7 8 9 |
# File 'lib/hookers/changelog/affects.rb', line 7 def commit @commit end |
#identifier ⇒ Object
Returns the value of attribute identifier.
7 8 9 |
# File 'lib/hookers/changelog/affects.rb', line 7 def identifier @identifier end |
#number ⇒ Object
Returns the value of attribute number.
7 8 9 |
# File 'lib/hookers/changelog/affects.rb', line 7 def number @number end |
#type ⇒ Object
Returns the value of attribute type.
7 8 9 |
# File 'lib/hookers/changelog/affects.rb', line 7 def type @type end |
#uri ⇒ Object
Returns the value of attribute uri.
7 8 9 |
# File 'lib/hookers/changelog/affects.rb', line 7 def uri @uri end |