Class: Windoo::Capability
- Inherits:
-
BaseClasses::Criterion
- Object
- BaseClasses::JSONObject
- BaseClasses::Criterion
- Windoo::Capability
- Includes:
- Mixins::APICollection
- Defined in:
- lib/windoo/objects/capability.rb
Overview
The class for dealing with the capabilities of Patches in the Title Editor
A capability is one criterion, a group of which define which computers are capable of running, and this allowed to install, a Patch.
Constant Summary collapse
- RSRC_PATH =
Constants
'capabilities'
- CONTAINER_CLASS =
Windoo::Patch
- JSON_ATTRIBUTES =
Attributes
{ # @!attribute capabilityId # @return [Integer] The id number of this capability capabilityId: { class: :Integer, identifier: :primary, do_not_send: true, readonly: true }, # @!attribute patchId # @return [Integer] The id number of the Patch which uses this capability patchId: { class: :Integer, do_not_send: true, readonly: true } }.freeze
Constants inherited from BaseClasses::Criterion
BaseClasses::Criterion::ATTRIBUTES_TO_UPDATE_TOGETHER, BaseClasses::Criterion::TYPES, BaseClasses::Criterion::TYPE_EA, BaseClasses::Criterion::TYPE_RECON
Constants inherited from BaseClasses::JSONObject
BaseClasses::JSONObject::PP_OMITTED_INST_VARS
Instance Attribute Summary collapse
-
#capabilityId ⇒ Integer
The id number of this capability.
-
#patchId ⇒ Integer
The id number of the Patch which uses this capability.
Attributes inherited from BaseClasses::Criterion
#absoluteOrderId, #and_or, #name, #operator, #type, #value
Attributes inherited from BaseClasses::JSONObject
Class Method Summary collapse
Methods included from Mixins::APICollection
#==, #cnx, #container, #create_on_server, #delete, #deleted_id, included, #initialize, #pretty_print_instance_variables, #primary_id, #softwareTitle, #update_on_server
Methods inherited from BaseClasses::Criterion
#initialize, #local_absoluteOrderId=, #to_api
Methods included from Mixins::Immutable
Methods inherited from BaseClasses::JSONObject
attribute_already_parsed?, ident_keys, #initialize, json_attributes, json_attributes_parsed, mutable?, parse_json_attributes, #pretty_print_instance_variables, primary_id_key, required_attributes, #to_api, #to_json, validate_attr
Instance Attribute Details
#capabilityId ⇒ Integer
Returns The id number of this capability.
|
# File 'lib/windoo/objects/capability.rb', line 35
|
#patchId ⇒ Integer
Returns The id number of the Patch which uses this capability.
|
# File 'lib/windoo/objects/capability.rb', line 44
|
Class Method Details
.fetch(*_args) ⇒ Object
58 59 60 |
# File 'lib/windoo/objects/capability.rb', line 58 def self.fetch(*_args) raise Windoo::UnsupportedError, 'Capabilities are fetched as part of the Patch that contains them' end |