Class: KodiClient::Types::Addons::AddonExtraInfo
- Inherits:
-
Object
- Object
- KodiClient::Types::Addons::AddonExtraInfo
- Extended by:
- Extensions::Creatable
- Includes:
- Extensions::Comparable
- Defined in:
- lib/kodi_client/types/addons/addon_extra_info_type.rb
Overview
Addon.Details.extrainfo kodi.wiki/view/JSON-RPC_API/v12#Addon.Details
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(key, value) ⇒ AddonExtraInfo
constructor
A new instance of AddonExtraInfo.
Methods included from Extensions::Creatable
arr_to_mapping, attr_accessor, attr_reader, attr_writer, create, create_list, extract_field_from_hash, fields_to_map, hash_to_arr, type_mapping
Methods included from Extensions::Comparable
Constructor Details
#initialize(key, value) ⇒ AddonExtraInfo
Returns a new instance of AddonExtraInfo.
13 14 15 16 |
# File 'lib/kodi_client/types/addons/addon_extra_info_type.rb', line 13 def initialize(key, value) @key = key @value = value end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
11 12 13 |
# File 'lib/kodi_client/types/addons/addon_extra_info_type.rb', line 11 def key @key end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
11 12 13 |
# File 'lib/kodi_client/types/addons/addon_extra_info_type.rb', line 11 def value @value end |