class Hockey::Version

Version on HockeyApp

Attributes

appsize[R]
config_url[R]
device_family[R]
download_url[R]
id[R]
mandatory[R]
minimum_os_version[R]
net[R]
notes[R]
original_hash[R]
shortversion[R]
status[R]
timestamp[R]
title[R]
version[R]

Public Class Methods

create_from(hashobj, networking) click to toggle source
# File lib/hockeyhelper/version.rb, line 24
def self.create_from(hashobj, networking)
  self.new hashobj, networking
end
new(hashobj, networking) click to toggle source
# File lib/hockeyhelper/version.rb, line 28
def initialize(hashobj, networking)
  @id = hashobj['id']
  @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

Public Instance Methods

inspect() click to toggle source
# File lib/hockeyhelper/version.rb, line 46
def inspect
  "#{@title} #{@id} #{@version}"
end
Also aliased as: to_s
to_s()
Alias for: inspect