Class: Hookers::Changelog::Affects

Inherits:
Object
  • Object
show all
Defined in:
lib/hookers/changelog/affects.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#commitObject

Returns the value of attribute commit.



7
8
9
# File 'lib/hookers/changelog/affects.rb', line 7

def commit
  @commit
end

#identifierObject

Returns the value of attribute identifier.



7
8
9
# File 'lib/hookers/changelog/affects.rb', line 7

def identifier
  @identifier
end

#numberObject

Returns the value of attribute number.



7
8
9
# File 'lib/hookers/changelog/affects.rb', line 7

def number
  @number
end

#typeObject

Returns the value of attribute type.



7
8
9
# File 'lib/hookers/changelog/affects.rb', line 7

def type
  @type
end

#uriObject

Returns the value of attribute uri.



7
8
9
# File 'lib/hookers/changelog/affects.rb', line 7

def uri
  @uri
end