Module: KodiClient::Types::Items::ItemDetailsBase

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#labelObject (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_mappingsObject



10
11
12
# File 'lib/kodi_client/types/items/item_details_base_type.rb', line 10

def item_details_base_mappings
  []
end