Class: Supply::ReleaseListing

Inherits:
Object
  • Object
show all
Defined in:
supply/lib/supply/release_listing.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(track, version, versioncodes, language, text) ⇒ ReleaseListing

Initializes the release listing with the current listing if available


10
11
12
13
14
15
16
# File 'supply/lib/supply/release_listing.rb', line 10

def initialize(track, version, versioncodes, language, text)
  self.track = track
  self.version = version
  self.versioncodes = versioncodes
  self.language = language
  self.release_notes = text
end

Instance Attribute Details

#languageObject

Returns the value of attribute language


6
7
8
# File 'supply/lib/supply/release_listing.rb', line 6

def language
  @language
end

#release_notesObject

Returns the value of attribute release_notes


7
8
9
# File 'supply/lib/supply/release_listing.rb', line 7

def release_notes
  @release_notes
end

#trackObject

Returns the value of attribute track


3
4
5
# File 'supply/lib/supply/release_listing.rb', line 3

def track
  @track
end

#versionObject

Returns the value of attribute version


4
5
6
# File 'supply/lib/supply/release_listing.rb', line 4

def version
  @version
end

#versioncodesObject

Returns the value of attribute versioncodes


5
6
7
# File 'supply/lib/supply/release_listing.rb', line 5

def versioncodes
  @versioncodes
end