class Apkstats::Entity::ApkInfo
Constants
- KEYS
Attributes
dex_count[RW]
Integer
download_size[RW]
Integer
file_size[RW]
Integer
method_reference_count[RW]
Integer
min_sdk[RW]
String
non_required_features[RW]
Array<String>
permissions[RW]
Array<String>
required_features[RW]
Array<String>
target_sdk[RW]
String
Public Class Methods
new(command, apk_filepath)
click to toggle source
# File lib/apkstats/entity/apk_info.rb, line 26 def initialize(command, apk_filepath) KEYS.each do |key| self.send("#{key}=", command.send(key, apk_filepath)) end end
Public Instance Methods
[](key)
click to toggle source
# File lib/apkstats/entity/apk_info.rb, line 32 def [](key) send(key) end
to_h()
click to toggle source
# File lib/apkstats/entity/apk_info.rb, line 36 def to_h KEYS.each_with_object({}) do |key, acc| acc[key] = self[key] end end