Class: Proxy::Omaha::OmahaProtocol::Updateresponse

Inherits:
Response
  • Object
show all
Defined in:
lib/smart_proxy_omaha/omaha_protocol/updateresponse.rb

Instance Attribute Summary collapse

Attributes inherited from Response

#appid, #base_url, #host, #status

Instance Method Summary collapse

Methods inherited from Response

#http_status, #to_xml

Constructor Details

#initialize(options = {}) ⇒ Updateresponse

Returns a new instance of Updateresponse.



5
6
7
8
9
10
11
12
13
14
15
# File 'lib/smart_proxy_omaha/omaha_protocol/updateresponse.rb', line 5

def initialize(options = {})
  @metadata = options.fetch(:metadata)
  @architecture = options.fetch(:board)
  @name = options.fetch(:name)
  @size = .size
  @sha1_b64 = .sha1_b64
  @sha256_b64 = .sha256_b64
  @release = .release
  @track = .track
  super
end

Instance Attribute Details

#architectureObject (readonly)

Returns the value of attribute architecture.



3
4
5
# File 'lib/smart_proxy_omaha/omaha_protocol/updateresponse.rb', line 3

def architecture
  @architecture
end

#metadataObject (readonly)

Returns the value of attribute metadata.



3
4
5
# File 'lib/smart_proxy_omaha/omaha_protocol/updateresponse.rb', line 3

def 
  @metadata
end

#nameObject (readonly)

Returns the value of attribute name.



3
4
5
# File 'lib/smart_proxy_omaha/omaha_protocol/updateresponse.rb', line 3

def name
  @name
end

#releaseObject (readonly)

Returns the value of attribute release.



3
4
5
# File 'lib/smart_proxy_omaha/omaha_protocol/updateresponse.rb', line 3

def release
  @release
end

#serverObject (readonly)

Returns the value of attribute server.



3
4
5
# File 'lib/smart_proxy_omaha/omaha_protocol/updateresponse.rb', line 3

def server
  @server
end

#sha1_b64Object (readonly)

Returns the value of attribute sha1_b64.



3
4
5
# File 'lib/smart_proxy_omaha/omaha_protocol/updateresponse.rb', line 3

def sha1_b64
  @sha1_b64
end

#sha256_b64Object (readonly)

Returns the value of attribute sha256_b64.



3
4
5
# File 'lib/smart_proxy_omaha/omaha_protocol/updateresponse.rb', line 3

def sha256_b64
  @sha256_b64
end

#sizeObject (readonly)

Returns the value of attribute size.



3
4
5
# File 'lib/smart_proxy_omaha/omaha_protocol/updateresponse.rb', line 3

def size
  @size
end

#trackObject (readonly)

Returns the value of attribute track.



3
4
5
# File 'lib/smart_proxy_omaha/omaha_protocol/updateresponse.rb', line 3

def track
  @track
end