Class: KizAPI::ChannelWords::Word
- Inherits:
-
String
- Object
- String
- KizAPI::ChannelWords::Word
- Defined in:
- lib/kizapi.rb
Instance Attribute Summary collapse
-
#subject ⇒ Object
readonly
Returns the value of attribute subject.
Instance Method Summary collapse
-
#initialize(item) ⇒ Word
constructor
A new instance of Word.
Constructor Details
#initialize(item) ⇒ Word
Returns a new instance of Word.
123 124 125 126 |
# File 'lib/kizapi.rb', line 123 def initialize(item) super(item.title) @subject = item.dc_subject end |
Instance Attribute Details
#subject ⇒ Object (readonly)
Returns the value of attribute subject.
122 123 124 |
# File 'lib/kizapi.rb', line 122 def subject @subject end |