class Supply::GeneratedUniversalApk

A model representing the returned values from a call to Client#list_generated_universal_apks

Attributes

certificate_sha256_hash[RW]
download_id[RW]
package_name[RW]
version_code[RW]

Public Class Methods

new(package_name, version_code, certificate_sha256_hash, download_id) click to toggle source

Initializes the Generated Universal APK model

# File supply/lib/supply/generated_universal_apk.rb, line 10
def initialize(package_name, version_code, certificate_sha256_hash, download_id)
  self.package_name = package_name
  self.version_code = version_code
  self.certificate_sha256_hash = certificate_sha256_hash
  self.download_id = download_id
end

Public Instance Methods

==(other) click to toggle source
# File supply/lib/supply/generated_universal_apk.rb, line 17
def ==(other)
  self.package_name == other.package_name \
    && self.version_code == other.version_code \
    && self.certificate_sha256_hash == other.certificate_sha256_hash \
    && self.download_id == other.download_id
end