Class: Supply::ApkListing

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(recent_changes, language, apk_version_code) ⇒ ApkListing

Initializes the apk listing with the current listing if available


8
9
10
11
12
# File 'supply/lib/supply/apk_listing.rb', line 8

def initialize(recent_changes, language, apk_version_code)
  self.recent_changes = recent_changes
  self.language = language
  self.apk_version_code = apk_version_code
end

Instance Attribute Details

#apk_version_codeObject

Returns the value of attribute apk_version_code


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

def apk_version_code
  @apk_version_code
end

#languageObject

Returns the value of attribute language


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

def language
  @language
end

#recent_changesObject

Returns the value of attribute recent_changes


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

def recent_changes
  @recent_changes
end