Class: KodiClient::Types::Profiles::DetailsProfile
- Inherits:
-
Object
- Object
- KodiClient::Types::Profiles::DetailsProfile
- Extended by:
- Extensions::Creatable
- Includes:
- Extensions::Comparable, Items::ItemDetailsBase
- Defined in:
- lib/kodi_client/types/profiles/details_profile_type.rb
Overview
Profiles.Details.Profile kodi.wiki/view/JSON-RPC_API/v12#Profiles.Details.Profile
Instance Attribute Summary collapse
-
#lock_mode ⇒ Object
readonly
Returns the value of attribute lock_mode.
-
#thumbnail ⇒ Object
readonly
Returns the value of attribute thumbnail.
Attributes included from Items::ItemDetailsBase
Instance Method Summary collapse
-
#initialize(lock_mode, thumbnail, label) ⇒ DetailsProfile
constructor
A new instance of DetailsProfile.
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 Items::ItemDetailsBase
#item_details_base, #item_details_base_by_hash, #item_details_base_mappings
Methods included from Extensions::Comparable
Constructor Details
#initialize(lock_mode, thumbnail, label) ⇒ DetailsProfile
Returns a new instance of DetailsProfile.
16 17 18 19 20 |
# File 'lib/kodi_client/types/profiles/details_profile_type.rb', line 16 def initialize(lock_mode, thumbnail, label) @lock_mode = lock_mode @thumbnail = thumbnail item_details_base(label) end |
Instance Attribute Details
#lock_mode ⇒ Object (readonly)
Returns the value of attribute lock_mode.
12 13 14 |
# File 'lib/kodi_client/types/profiles/details_profile_type.rb', line 12 def lock_mode @lock_mode end |
#thumbnail ⇒ Object (readonly)
Returns the value of attribute thumbnail.
12 13 14 |
# File 'lib/kodi_client/types/profiles/details_profile_type.rb', line 12 def thumbnail @thumbnail end |