Sha256: e1e00046cb551bab5e5ebff9ad03c378f46f1c6fe15c0dd1495455ecd63cfe31
Contents?: true
Size: 1.21 KB
Versions: 1
Compression:
Stored size: 1.21 KB
Contents
module Hockey VERSION = "0.0.2" # Version on HockeyApp class Version attr_reader :version attr_reader :mandatory attr_reader :config_url attr_reader :download_url attr_reader :timestamp attr_reader :appsize attr_reader :device_family attr_reader :notes attr_reader :status attr_reader :shortversion attr_reader :minimum_os_version attr_reader :title attr_reader :original_hash attr :net def self.create_from(hashobj, networking) self.new hashobj, networking end def initialize(hashobj, networking) @version = hashobj['version'] @mandatory = hashobj['mandatory'] @config_url = hashobj['config_url'] @download_url = hashobj['download_url'] @timestamp = hashobj['timestamp'] @appsize = hashobj['appsize'] @device_family = hashobj['device_family'] @notes = hashobj['notes'] @status = hashobj['status'] @shortversion = hashobj['shortversion'] @minimum_os_version = hashobj['minimum_os_version'] @title = hashobj['title'] @original_hash = hashobj @net = networking end def inspect "#{@title} #{@version}" end alias_method :to_s, :inspect end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hockeyhelper-0.0.2 | lib/hockeyhelper/version.rb |