Module: KodiClient::Types::Items::ItemDetailsBase
- Included in:
- Addons::AddonDetails, Audio::AudioDetailsRole, Library::AudioDetailsSource, Library::LibraryDetailsGenre, Media::MediaDetailsBase, Profiles::DetailsProfile
- Defined in:
- lib/kodi_client/types/items/item_details_base_type.rb
Overview
Item.Details.Base kodi.wiki/view/JSON-RPC_API/v12#Item.Details.Base
Instance Attribute Summary collapse
-
#label ⇒ Object
readonly
Returns the value of attribute label.
Instance Method Summary collapse
- #item_details_base(label) ⇒ Object
- #item_details_base_by_hash(hash) ⇒ Object
- #item_details_base_mappings ⇒ Object
Instance Attribute Details
#label ⇒ Object (readonly)
Returns the value of attribute label.
8 9 10 |
# File 'lib/kodi_client/types/items/item_details_base_type.rb', line 8 def label @label end |
Instance Method Details
#item_details_base(label) ⇒ Object
18 19 20 |
# File 'lib/kodi_client/types/items/item_details_base_type.rb', line 18 def item_details_base(label) @label = label end |
#item_details_base_by_hash(hash) ⇒ Object
14 15 16 |
# File 'lib/kodi_client/types/items/item_details_base_type.rb', line 14 def item_details_base_by_hash(hash) item_details_base(*Extensions::Creatable.hash_to_arr(hash, %w[label], item_details_base_mappings)) end |
#item_details_base_mappings ⇒ Object
10 11 12 |
# File 'lib/kodi_client/types/items/item_details_base_type.rb', line 10 def item_details_base_mappings [] end |