Class: BBC::Redux::Channel

Inherits:
Object
  • Object
show all
Defined in:
lib/bbc/redux/channel.rb

Overview

Redux API Channel Object

Examples:

Properties of the channel object


channel = redux_client.channels.first

channel.category_id  #=> Integer
channel.display_name #=> String
channel.name         #=> String
channel.sort_order   #=> Integer

Instance Attribute Summary collapse

Instance Attribute Details

#category_idInteger (readonly)


24
# File 'lib/bbc/redux/channel.rb', line 24

attribute :category_id, Integer

#display_nameString (readonly) Also known as: longname


28
# File 'lib/bbc/redux/channel.rb', line 28

attribute :display_name, String

#nameString (readonly)


34
# File 'lib/bbc/redux/channel.rb', line 34

attribute :name, String

#sortorderInteger (readonly) Also known as: sort_order


38
# File 'lib/bbc/redux/channel.rb', line 38

attribute :sortorder, Integer