Class: BBC::Redux::Channel
- Inherits:
-
Object
- Object
- BBC::Redux::Channel
- Defined in:
- lib/bbc/redux/channel.rb
Overview
Redux API Channel Object
Instance Attribute Summary collapse
-
#category_id ⇒ Integer
readonly
Channel’s category id.
-
#display_name ⇒ String
(also: #longname)
readonly
Channel display name, e.g.
-
#name ⇒ String
(also: #to_s)
readonly
Channel short name, e.g.
-
#sortorder ⇒ Integer
(also: #sort_order)
readonly
Channel’s suggested sort order in list views.
Instance Attribute Details
#category_id ⇒ Integer (readonly)
Returns channel’s category id.
24 |
# File 'lib/bbc/redux/channel.rb', line 24 attribute :category_id, Integer |
#display_name ⇒ String (readonly) Also known as: longname
Returns channel display name, e.g. ‘BBC One’.
28 |
# File 'lib/bbc/redux/channel.rb', line 28 attribute :display_name, String |
#name ⇒ String (readonly) Also known as: to_s
Returns channel short name, e.g. ‘bbcone’.
34 |
# File 'lib/bbc/redux/channel.rb', line 34 attribute :name, String |
#sortorder ⇒ Integer (readonly) Also known as: sort_order
Returns channel’s suggested sort order in list views.
40 |
# File 'lib/bbc/redux/channel.rb', line 40 attribute :sortorder, Integer |