Class: Proxy::Omaha::OmahaProtocol::Updateresponse
- Defined in:
- lib/smart_proxy_omaha/omaha_protocol/updateresponse.rb
Instance Attribute Summary collapse
-
#architecture ⇒ Object
readonly
Returns the value of attribute architecture.
-
#metadata ⇒ Object
readonly
Returns the value of attribute metadata.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#release ⇒ Object
readonly
Returns the value of attribute release.
-
#server ⇒ Object
readonly
Returns the value of attribute server.
-
#sha1_b64 ⇒ Object
readonly
Returns the value of attribute sha1_b64.
-
#sha256_b64 ⇒ Object
readonly
Returns the value of attribute sha256_b64.
-
#size ⇒ Object
readonly
Returns the value of attribute size.
-
#track ⇒ Object
readonly
Returns the value of attribute track.
Attributes inherited from Response
#appid, #base_url, #host, #status
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Updateresponse
constructor
A new instance of Updateresponse.
Methods inherited from Response
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( = {}) @metadata = .fetch(:metadata) @architecture = .fetch(:board) @name = .fetch(:name) @size = .size @sha1_b64 = .sha1_b64 @sha256_b64 = .sha256_b64 @release = .release @track = .track super end |
Instance Attribute Details
#architecture ⇒ Object (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 |
#metadata ⇒ Object (readonly)
Returns the value of attribute metadata.
3 4 5 |
# File 'lib/smart_proxy_omaha/omaha_protocol/updateresponse.rb', line 3 def @metadata end |
#name ⇒ Object (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 |
#release ⇒ Object (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 |
#server ⇒ Object (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_b64 ⇒ Object (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_b64 ⇒ Object (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 |
#size ⇒ Object (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 |
#track ⇒ Object (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 |