Class: KodiClient::Types::Audio::AvailableArt
- Inherits:
-
Object
- Object
- KodiClient::Types::Audio::AvailableArt
- Extended by:
- Extensions::Creatable
- Includes:
- Extensions::Comparable
- Defined in:
- lib/kodi_client/types/audio/available_art_type.rb
Overview
AudioLibrary.GetAvailableArt kodi.wiki/view/JSON-RPC_API/v12#AudioLibrary.GetAvailableArt
Instance Attribute Summary collapse
-
#art_type ⇒ Object
readonly
Returns the value of attribute art_type.
-
#preview_url ⇒ Object
readonly
Returns the value of attribute preview_url.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(art_type, preview_url, url) ⇒ AvailableArt
constructor
A new instance of AvailableArt.
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(art_type, preview_url, url) ⇒ AvailableArt
Returns a new instance of AvailableArt.
13 14 15 16 17 |
# File 'lib/kodi_client/types/audio/available_art_type.rb', line 13 def initialize(art_type, preview_url, url) @art_type = art_type @preview_url = preview_url @url = url end |
Instance Attribute Details
#art_type ⇒ Object (readonly)
Returns the value of attribute art_type.
11 12 13 |
# File 'lib/kodi_client/types/audio/available_art_type.rb', line 11 def art_type @art_type end |
#preview_url ⇒ Object (readonly)
Returns the value of attribute preview_url.
11 12 13 |
# File 'lib/kodi_client/types/audio/available_art_type.rb', line 11 def preview_url @preview_url end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
11 12 13 |
# File 'lib/kodi_client/types/audio/available_art_type.rb', line 11 def url @url end |