Sha256: 4d4ff5e7354e314cbc891fe0915b2b031f1091a4c35b380171619d433b55027a

Contents?: true

Size: 315 Bytes

Versions: 2

Compression:

Stored size: 315 Bytes

Contents

class Apk
  attr_accessor :offer_type, :package_id, :version_code

  def initialize(package_id, version_code, offer_type=0)
    @package_id = package_id
    @version_code = version_code
    @offer_type = offer_type
  end

  def complete?
    !@package_id.nil? && !@version_code.nil? && !@offer_type.nil?
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
playstore_downloader-0.2.0 lib/playstore_downloader/apk.rb
playstore_downloader-0.1.0 lib/playstore_downloader/apk.rb